-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathschema.sql
More file actions
19 lines (18 loc) · 845 Bytes
/
schema.sql
File metadata and controls
19 lines (18 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
create table support
(
id int auto_increment,
type int default 0 not null,
mail varchar(255) not null,
name varchar(255) not null,
orga varchar(255) null,
comment text null,
contact_agreement int default 0 not null,
data_agreement int default 0 not null,
state int default 0 not null,
code varchar(32) null,
created_at datetime default current_timestamp() not null,
constraint support_id_uindex
unique (id)
);
alter table support
add primary key (id);