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
0
Issues
0
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
Thibaut Felten
projet-cdaw
Commits
29dcb5c8
Commit
29dcb5c8
authored
Nov 23, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
creationBase
parent
f1e32d21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
13 deletions
+72
-13
createDB.sql
backend/MVC/sql/createDB.sql
+72
-13
No files found.
backend/MVC/sql/createDB.sql
View file @
29dcb5c8
SET
foreign_key_checks
=
0
;
-- phpMyAdmin SQL Dump
drop
table
if
exists
USER
;
-- version 4.5.4.1
create
table
USER
-- http://www.phpmyadmin.net
(
--
USER_ID
smallint
not
null
AUTO_INCREMENT
,
-- Client : localhost
USER_LOGIN
varchar
(
25
)
not
null
,
-- Généré le : Lun 23 Novembre 2020 à 11:48
USER_EMAIL
varchar
(
255
)
not
null
,
-- Version du serveur : 5.7.11
USER_PASSWORD
varchar
(
255
),
-- Version de PHP : 7.0.3
USER_FIRSTNAME
varchar
(
50
)
not
null
,
USER_LASTNAME
varchar
(
50
)
not
null
,
SET
SQL_MODE
=
"NO_AUTO_VALUE_ON_ZERO"
;
USER_ROLE
smallint
not
null
,
SET
time_zone
=
"+00:00"
;
primary
key
(
USER_ID
)
)
DEFAULT
CHARSET
=
utf8
;
\ No newline at end of file
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */
;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */
;
/*!40101 SET NAMES utf8mb4 */
;
--
-- Base de données : `dbtest`
--
-- --------------------------------------------------------
--
-- Structure de la table `user`
--
CREATE
TABLE
`user`
(
`USER_ID`
smallint
(
6
)
NOT
NULL
,
`USER_LOGIN`
varchar
(
25
)
NOT
NULL
,
`USER_EMAIL`
varchar
(
255
)
NOT
NULL
,
`USER_PASSWORD`
varchar
(
255
)
NOT
NULL
,
`USER_FIRSTNAME`
varchar
(
50
)
NOT
NULL
,
`USER_LASTNAME`
varchar
(
50
)
NOT
NULL
,
`USER_ROLE`
smallint
(
6
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
;
--
-- Contenu de la table `user`
--
INSERT
INTO
`user`
(
`USER_ID`
,
`USER_LOGIN`
,
`USER_EMAIL`
,
`USER_PASSWORD`
,
`USER_FIRSTNAME`
,
`USER_LASTNAME`
,
`USER_ROLE`
)
VALUES
(
1
,
'loginRoot3'
,
'toto@gmail.com'
,
'$2y$12$d.e18TWr661D9/spQRbE/u5HwK1yNUCDSyAlQwVGZLckBZAOofCmy'
,
'root'
,
'root'
,
1
),
(
4
,
'test'
,
'test@gmail.com'
,
'test'
,
'test'
,
'test'
,
1
),
(
5
,
'test2'
,
'test@gmail.com'
,
'test2'
,
'test2'
,
'test2'
,
1
),
(
6
,
'test2'
,
'test@gmail.com'
,
'test2'
,
'test2'
,
'test2'
,
1
),
(
7
,
'test2'
,
'test@gmail.com'
,
'test2'
,
'test2'
,
'test2'
,
1
),
(
8
,
'test2'
,
'test@gmail.com'
,
'test2'
,
'test2'
,
'test2'
,
1
);
--
-- Index pour les tables exportées
--
--
-- Index pour la table `user`
--
ALTER
TABLE
`user`
ADD
PRIMARY
KEY
(
`USER_ID`
);
--
-- AUTO_INCREMENT pour les tables exportées
--
--
-- AUTO_INCREMENT pour la table `user`
--
ALTER
TABLE
`user`
MODIFY
`USER_ID`
smallint
(
6
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
9
;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */
;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */
;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
;
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