Skip to content
Snippets Groups Projects
Commit a8b4d20e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

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

parent f3eca9a7
No related branches found
No related tags found
No related merge requests found
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment