Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Quentin Vrel
projet-cdaw
Commits
10fffb9a
Commit
10fffb9a
authored
Nov 23, 2020
by
quentin.vrel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TP agl
parent
83b984e6
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11336 additions
and
1142 deletions
+11336
-1142
dump.sql
AGL/BD/dump.sql
+59
-121
Espace de travail.sws
AGL/Conception/Espace de travail.sws
+1
-1
MCD TP AGL.bcd
AGL/Conception/MCD TP AGL.bcd
+3132
-0
MCD TP AGL.mcd
AGL/Conception/MCD TP AGL.mcd
+467
-337
MPD TP AGL.bpd
AGL/Conception/MPD TP AGL.bpd
+7013
-0
MPD TP AGL.mpd
AGL/Conception/MPD TP AGL.mpd
+664
-683
No files found.
AGL/BD/
tables
.sql
→
AGL/BD/
dump
.sql
View file @
10fffb9a
/*==============================================================*/
/* Nom de SGBD : MySQL 5.0 */
/* Date de cration : 23/11/2020 1
7:07:49
*/
/* Date de cration : 23/11/2020 1
8:08:41
*/
/*==============================================================*/
alter
table
MJ_GAME
drop
foreign
key
FK_MJ_GAME_HOST_MJ_SALON
;
alter
table
MJ_PLAY
drop
foreign
key
FK_MJ_PLAY_PLAY_MJ_GAME
;
alter
table
MJ_PLAY
drop
foreign
key
FK_MJ_PLAY_PLAY2_MJ_USER
;
alter
table
MJ_ROUND
drop
foreign
key
FK_MJ_ROUND_COMPOSE_MJ_GAME
;
alter
table
MJ_SALON
drop
foreign
key
FK_MJ_SALON_CREATION_MJ_USER
;
alter
table
MJ_USER
drop
foreign
key
FK_MJ_USER_HAS_MJ_ROLE
;
drop
table
if
exists
MJ_BLACKLIST_IP
;
alter
table
MJ_GAME
drop
foreign
key
FK_MJ_GAME_HOST_MJ_SALON
;
drop
table
if
exists
MJ_GAME
;
alter
table
MJ_PLAY
drop
foreign
key
FK_MJ_PLAY_PLAY_MJ_GAME
;
alter
table
MJ_PLAY
drop
foreign
key
FK_MJ_PLAY_PLAY2_MJ_USER
;
drop
table
if
exists
MJ_PLAY
;
drop
table
if
exists
MJ_ROLE
;
alter
table
MJ_ROUND
drop
foreign
key
FK_MJ_ROUND_COMPOSE_MJ_GAME
;
drop
table
if
exists
MJ_ROUND
;
alter
table
MJ_SALON
drop
foreign
key
FK_MJ_SALON_CREATION_MJ_USER
;
drop
table
if
exists
MJ_SALON
;
alter
table
MJ_USER
drop
foreign
key
FK_MJ_USER_HAS_MJ_ROLE
;
drop
table
if
exists
MJ_USER
;
/*==============================================================*/
/* Table : MJ_BLACKLIST_IP */
/*==============================================================*/
...
...
@@ -71,100 +16,93 @@ create table MJ_BLACKLIST_IP
);
/*==============================================================*/
/* Table : MJ_
GAM
E */
/* Table : MJ_
ROL
E */
/*==============================================================*/
create
table
MJ_
GAM
E
create
table
MJ_
ROL
E
(
ID_GAME
int
not
null
auto_increment
comment
''
,
ID_ROOM
varchar
(
1024
)
not
null
comment
''
,
DATE_BEGIN
datetime
not
null
comment
''
,
DATE_END
datetime
comment
''
,
primary
key
(
ID_GAME
)
ID_ROLE
int
not
null
auto_increment
comment
''
,
NAME
varchar
(
15
)
not
null
comment
''
,
primary
key
(
ID_ROLE
)
);
/*==============================================================*/
/* Table : MJ_
PLAY
*/
/* Table : MJ_
USER
*/
/*==============================================================*/
create
table
MJ_
PLAY
create
table
MJ_
USER
(
ID_GAME
int
not
null
comment
''
,
ID_USER
int
not
null
comment
''
,
WIN
bool
comment
''
,
primary
key
(
ID_GAME
,
ID_USER
)
ID_USER
int
not
null
auto_increment
comment
''
,
ID_ROLE
int
comment
''
,
LOGIN
varchar
(
16
)
not
null
comment
''
,
PASWORD
char
(
40
)
not
null
comment
''
,
AVATAR
char
(
255
)
comment
''
,
LASTNAME
char
(
55
)
comment
''
,
FIRSTNAME
char
(
55
)
comment
''
,
MAIL
char
(
64
)
not
null
comment
''
,
BAN_ACCOUNT
bool
comment
''
,
LAST_IP
varchar
(
15
)
comment
''
,
primary
key
(
ID_USER
),
constraint
FK_MJ_USER_MJ_HAS_MJ_ROLE
foreign
key
(
ID_ROLE
)
references
MJ_ROLE
(
ID_ROLE
)
on
delete
restrict
on
update
restrict
);
/*==============================================================*/
/* Table : MJ_RO
LE
*/
/* Table : MJ_RO
OM
*/
/*==============================================================*/
create
table
MJ_RO
LE
create
table
MJ_RO
OM
(
ID_ROLE
int
not
null
auto_increment
comment
''
,
NAME
varchar
(
15
)
not
null
comment
''
,
primary
key
(
ID_ROLE
)
ID_ROOM
int
not
null
auto_increment
comment
''
,
ID_USER
int
comment
''
,
PRIVATE
bool
not
null
comment
''
,
DATE_BEGIN
datetime
not
null
comment
''
,
DATE_END
datetime
comment
''
,
primary
key
(
ID_ROOM
),
constraint
FK_MJ_ROOM_MJ_CREATI_MJ_USER
foreign
key
(
ID_USER
)
references
MJ_USER
(
ID_USER
)
on
delete
restrict
on
update
restrict
);
/*==============================================================*/
/* Table : MJ_
ROUND
*/
/* Table : MJ_
GAME
*/
/*==============================================================*/
create
table
MJ_
ROUND
create
table
MJ_
GAME
(
ID_ROUND
int
not
null
auto_increment
comment
''
,
ID_GAME
int
not
null
comment
''
,
WIND
int
not
null
comment
''
,
SEED
int
not
null
comment
''
,
ID_GAME
int
not
null
auto_increment
comment
''
,
ID_ROOM
int
comment
''
,
DATE_BEGIN
datetime
not
null
comment
''
,
DATE_END
datetime
comment
''
,
ACTIONS
varchar
(
500
)
comment
''
,
primary
key
(
ID_ROUND
)
primary
key
(
ID_GAME
),
constraint
FK_MJ_GAME_MJ_HOST_MJ_ROOM
foreign
key
(
ID_ROOM
)
references
MJ_ROOM
(
ID_ROOM
)
on
delete
restrict
on
update
restrict
);
/*==============================================================*/
/* Table : MJ_
SALON
*/
/* Table : MJ_
PLAY
*/
/*==============================================================*/
create
table
MJ_
SALON
create
table
MJ_
PLAY
(
ID_
ROOM
int
not
null
auto_increment
comment
''
,
ID_
GAME
int
not
null
comment
''
,
ID_USER
int
not
null
comment
''
,
PRIVATE
bool
not
null
comment
''
,
DATE_BEGIN
datetime
not
null
comment
''
,
DATE_END
datetime
comment
''
,
CODE
char
(
6
)
comment
''
,
primary
key
(
ID_ROOM
)
WIN
bool
comment
''
,
primary
key
(
ID_GAME
,
ID_USER
),
constraint
FK_MJ_PLAY_PLAY_MJ_GAME
foreign
key
(
ID_GAME
)
references
MJ_GAME
(
ID_GAME
)
on
delete
restrict
on
update
restrict
,
constraint
FK_MJ_PLAY_PLAY2_MJ_USER
foreign
key
(
ID_USER
)
references
MJ_USER
(
ID_USER
)
on
delete
restrict
on
update
restrict
);
/*==============================================================*/
/* Table : MJ_
USER
*/
/* Table : MJ_
ROUND
*/
/*==============================================================*/
create
table
MJ_
USER
create
table
MJ_
ROUND
(
ID_USER
int
not
null
auto_increment
comment
''
,
ID_ROLE
int
not
null
comment
''
,
LOGIN
varchar
(
16
)
not
null
comment
''
,
PASWORD
char
(
40
)
not
null
comment
''
,
AVATAR
char
(
1024
)
comment
''
,
LASTNAME
char
(
55
)
comment
''
,
FIRSTNAME
char
(
55
)
comment
''
,
MAIL
char
(
64
)
not
null
comment
''
,
BAN_ACCOUNT
bool
comment
''
,
LAST_IP
varchar
(
15
)
comment
''
,
primary
key
(
ID_USER
)
ID_ROUND
int
not
null
auto_increment
comment
''
,
ID_GAME
int
comment
''
,
WIND
int
not
null
comment
''
,
SEED
int
not
null
comment
''
,
DATE_BEGIN
datetime
not
null
comment
''
,
DATE_END
datetime
comment
''
,
ACTIONS
text
comment
''
,
primary
key
(
ID_ROUND
),
constraint
FK_MJ_ROUND_MJ_COMPOS_MJ_GAME
foreign
key
(
ID_GAME
)
references
MJ_GAME
(
ID_GAME
)
on
delete
restrict
on
update
restrict
);
alter
table
MJ_GAME
add
constraint
FK_MJ_GAME_HOST_MJ_SALON
foreign
key
(
ID_ROOM
)
references
MJ_SALON
(
ID_ROOM
)
on
delete
restrict
on
update
restrict
;
alter
table
MJ_PLAY
add
constraint
FK_MJ_PLAY_PLAY_MJ_GAME
foreign
key
(
ID_GAME
)
references
MJ_GAME
(
ID_GAME
)
on
delete
restrict
on
update
restrict
;
alter
table
MJ_PLAY
add
constraint
FK_MJ_PLAY_PLAY2_MJ_USER
foreign
key
(
ID_USER
)
references
MJ_USER
(
ID_USER
)
on
delete
restrict
on
update
restrict
;
alter
table
MJ_ROUND
add
constraint
FK_MJ_ROUND_COMPOSE_MJ_GAME
foreign
key
(
ID_GAME
)
references
MJ_GAME
(
ID_GAME
)
on
delete
restrict
on
update
restrict
;
alter
table
MJ_SALON
add
constraint
FK_MJ_SALON_CREATION_MJ_USER
foreign
key
(
ID_USER
)
references
MJ_USER
(
ID_USER
)
on
delete
restrict
on
update
restrict
;
alter
table
MJ_USER
add
constraint
FK_MJ_USER_HAS_MJ_ROLE
foreign
key
(
ID_ROLE
)
references
MJ_ROLE
(
ID_ROLE
)
on
delete
restrict
on
update
restrict
;
AGL/Conception/Espace de travail.sws
View file @
10fffb9a
...
...
@@ -5,7 +5,7 @@
<Workspace>
<Local
Expanded=
"Yes"
>
<Model
Expanded=
"Yes"
ID=
"{11E4B893-61D4-478A-BAF1-0F640FC9D025}"
Name=
"MCD TP AGL"
Type=
"{1E597170-9350-11D1-AB3C-0020AF71E433}"
URL=
"MCD TP AGL.mcd"
/>
<Model
Expanded=
"Yes"
ID=
"{
83E9595C-80F2-4C36-B14E-147FEB75C299}"
Name=
"MPD_TP_AGL
"
Type=
"{CDE44E21-9669-11D1-9914-006097355D9B}"
URL=
"MPD TP AGL.mpd"
/>
<Model
Expanded=
"Yes"
ID=
"{
429C6A8D-7CCA-4EA9-9518-24D9C8D1C5AC}"
Name=
"MPD TP AGL"
Selected=
"Yes
"
Type=
"{CDE44E21-9669-11D1-9914-006097355D9B}"
URL=
"MPD TP AGL.mpd"
/>
</Local>
<BrowserModule
Name=
"Repository"
/>
</Workspace>
AGL/Conception/MCD TP AGL.bcd
0 → 100644
View file @
10fffb9a
This diff is collapsed.
Click to expand it.
AGL/Conception/MCD TP AGL.mcd
View file @
10fffb9a
This diff is collapsed.
Click to expand it.
AGL/Conception/MPD TP AGL.bpd
0 → 100644
View file @
10fffb9a
This diff is collapsed.
Click to expand it.
AGL/Conception/MPD TP AGL.mpd
View file @
10fffb9a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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