diff options
Diffstat (limited to 'upgrades/dbpatches/1.3/postgresql/patch/screens.sql')
-rw-r--r-- | upgrades/dbpatches/1.3/postgresql/patch/screens.sql | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/upgrades/dbpatches/1.3/postgresql/patch/screens.sql b/upgrades/dbpatches/1.3/postgresql/patch/screens.sql new file mode 100644 index 00000000..6c55a4be --- /dev/null +++ b/upgrades/dbpatches/1.3/postgresql/patch/screens.sql @@ -0,0 +1,11 @@ +CREATE TABLE screens_tmp ( + screenid bigint unsigned DEFAULT '0' NOT NULL, + name varchar(255) DEFAULT 'Screen' NOT NULL, + hsize integer DEFAULT '1' NOT NULL, + vsize integer DEFAULT '1' NOT NULL, + PRIMARY KEY (screenid) +) ENGINE=InnoDB; + +insert into screens_tmp select * from screens; +drop table screens; +alter table screens_tmp rename screens; |