Files
ROC/modules/core/site/scripts/user_profile.sql
Jocelyn Fiat 1c149f9daf Fixed sql for user profile installation.
Escape "key" with backquote to be compatible with MySQL.
2017-10-17 13:42:44 +02:00

7 lines
170 B
SQL

CREATE TABLE user_profiles(
`uid` INTEGER NOT NULL CHECK("uid">=0),
`key` VARCHAR(255) NOT NULL,
`value` TEXT,
CONSTRAINT PK_uid_key PRIMARY KEY (`uid`,`key`)
);