You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
526 B
19 lines
526 B
3 years ago
|
-- You should not modify if this have pushed to Github, unless it does serious wrong with the db.
|
||
|
BEGIN TRANSACTION;
|
||
|
|
||
|
create table incident
|
||
|
(
|
||
|
id INTEGER not null
|
||
|
constraint incident_pk
|
||
|
primary key autoincrement,
|
||
|
title VARCHAR(255) not null,
|
||
|
content TEXT not null,
|
||
|
style VARCHAR(30) default 'warning' not null,
|
||
|
created_date DATETIME default (DATETIME('now')) not null,
|
||
3 years ago
|
last_updated_date DATETIME,
|
||
3 years ago
|
pin BOOLEAN default 1 not null,
|
||
|
active BOOLEAN default 1 not null
|
||
|
);
|
||
|
|
||
|
COMMIT;
|