1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 21:40:55 +01:00
phorge-phorge/resources/sql/patches/20131020.col1.sql

10 lines
395 B
MySQL
Raw Normal View History

CREATE TABLE {$NAMESPACE}_project.project_column (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
phid VARCHAR(64) NOT NULL COLLATE utf8_bin,
name VARCHAR(255) NOT NULL,
sequence INT UNSIGNED NOT NULL,
projectPHID VARCHAR(64) NOT NULL COLLATE utf8_bin,
UNIQUE KEY `key_sequence` (projectPHID, sequence),
UNIQUE KEY `key_phid` (phid)
) ENGINE=InnoDB, COLLATE utf8_general_ci;