Commit a8b4d20e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Ajout de la création du schéma SQL requis.

parent f3eca9a7
CREATE TABLE IF NOT EXISTS `user_role` (
`role_id` varchar(255) NOT NULL,
`default` tinyint(1) NOT NULL,
`parent` varchar(255) DEFAULT NULL,
PRIMARY KEY (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `user_role_linker` (
`user_id` int(11) unsigned NOT NULL,
`role_id` varchar(255) NOT NULL,
PRIMARY KEY (`user_id`,`role_id`),
KEY `role_id` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment