Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Σταύρος Παπαδάκης
gredu_labs
Commits
d2267a77
Commit
d2267a77
authored
Feb 17, 2016
by
Georgios Tsakalos
Browse files
update school module schema
parent
eee97fef
Changes
1
Hide whitespace changes
Inline
Side-by-side
module/schools/data/schema.mysql.sql
View file @
d2267a77
...
...
@@ -250,7 +250,18 @@ DROP TABLE IF EXISTS `lab`;
/*!40101 SET character_set_client = utf8 */
;
CREATE
TABLE
`lab`
(
`id`
int
(
11
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
PRIMARY
KEY
(
`id`
)
`school_id`
int
(
11
)
unsigned
NOT
NULL
,
`teacher_id`
int
(
11
)
unsigned
,
`name`
varchar
(
191
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`type`
varchar
(
191
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`area`
int
(
11
)
unsigned
NOT
NULL
,
`attachment`
varchar
(
191
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
,
`in_school_use`
tinyint
(
1
)
unsigned
DEFAULT
'0'
,
`out_school_use`
tinyint
(
1
)
unsigned
DEFAULT
'0'
,
`has_network`
tinyint
(
1
)
unsigned
DEFAULT
'0'
,
`has_server`
tinyint
(
1
)
unsigned
DEFAULT
'0'
,
PRIMARY
KEY
(
`id`
),
FOREIGN
KEY
(
school_id
)
REFERENCES
school
(
id
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
;
/*!40101 SET character_set_client = @saved_cs_client */
;
...
...
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