forked from science-ation/science-ation
Database table for computing floor locations
This commit is contained in:
parent
1849d0362c
commit
15c9c5619a
@ -1 +1 @@
|
|||||||
164
|
165
|
||||||
|
17
db/db.update.165.sql
Normal file
17
db/db.update.165.sql
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
ALTER TABLE `projects` ADD `floornumber` INT NOT NULL AFTER `projectsort_seq` ;
|
||||||
|
|
||||||
|
CREATE TABLE `exhibithall` (
|
||||||
|
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||||
|
`name` VARCHAR( 32 ) NOT NULL ,
|
||||||
|
`type` ENUM( 'wall', 'exhibithall', 'project' ) NOT NULL ,
|
||||||
|
`x` FLOAT NOT NULL ,
|
||||||
|
`y` FLOAT NOT NULL ,
|
||||||
|
`w` FLOAT NOT NULL ,
|
||||||
|
`h` FLOAT NOT NULL ,
|
||||||
|
`orientation` INT NOT NULL ,
|
||||||
|
`exhibithall_id` INT NOT NULL ,
|
||||||
|
`floornumber` INT NOT NULL ,
|
||||||
|
`divs` TINYTEXT NOT NULL ,
|
||||||
|
`cats` TINYTEXT NOT NULL ,
|
||||||
|
`has_electricity` ENUM( 'no', 'yes' ) NOT NULL
|
||||||
|
) ENGINE = MYISAM ;
|
Loading…
Reference in New Issue
Block a user