Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
a8b4d20e
Commit
a8b4d20e
authored
Feb 22, 2013
by
Bertrand Gauthier
Browse files
Ajout de la création du schéma SQL requis.
parent
f3eca9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
data/schema.sql
0 → 100644
View file @
a8b4d20e
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
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment