Updated code for sql that should not use parameters to expand :table_name in table name usage, since Eiffel Store will use quote, and MySQL does not like them. Merge remote-tracking branch 'jvelilla/roc_auth_v1' into ewf_v1_mod_env Conflicts: examples/demo/demo-safe.ecf modules/auth/cms_authentication_module.e
11 lines
222 B
Smarty
11 lines
222 B
Smarty
|
|
CREATE TABLE $table_name (
|
|
`uid` INTEGER PRIMARY KEY NOT NULL CHECK(`uid`>=0),
|
|
`access_token` TEXT NOT NULL,
|
|
`created` DATETIME NOT NULL,
|
|
`details` TEXT NOT NULL,
|
|
CONSTRAINT `uid`
|
|
UNIQUE(`uid`)
|
|
);
|
|
|