Permalink
Browse files

Making the defaultsort field signed to indicate sort direction

  • Loading branch information...
ikawhero
ikawhero committed Mar 27, 2006
1 parent 8179046 commit f1d49973ac200cc83144e8d102675cfe9198775d
Showing with 3 additions and 3 deletions.
  1. +1 −1 mod/data/db/mysql.php
  2. +1 −1 mod/data/db/mysql.sql
  3. +1 −1 mod/data/db/postgres7.php
View
@@ -40,7 +40,7 @@ function data_upgrade($oldversion) {
}
if ($oldversion < 2006032700) {
table_column("data", "", "defaultsort", "integer", "10");
table_column("data", "", "defaultsort", "integer", "10", "signed");
table_column("data", "", "editany", "tinyint", "4");
}
View
@@ -36,7 +36,7 @@ CREATE TABLE prefix_data (
scale int(10) NOT NULL default '0',
assessed int(10) unsigned NOT NULL default '0',
assesspublic int(4) unsigned NOT NULL default '0',
defaultsort int(10) unsigned NOT NULL default '0',
defaultsort int(10) signed NOT NULL default '0',
editany tinyint(4) unsigned NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM COMMENT='Defines settings for each Database activity';
@@ -41,7 +41,7 @@ function data_upgrade($oldversion) {
}
if ($oldversion < 2006032700) {
table_column("data", "", "defaultsort", "integer", "10");
table_column("data", "", "defaultsort", "integer", "10", "signed");
table_column("data", "", "editany", "tinyint", "4");
}

0 comments on commit f1d4997

Please sign in to comment.