Tasks/schema.sql

14 lines
425 B
MySQL
Raw Normal View History

2015-11-13 14:34:42 +05:30
CREATE TABLE task (
2016-01-23 19:17:34 +05:30
id integer primary key autoincrement,
title varchar(100),
content text,
is_deleted char(1) default 'N',
created_date timestamp,
last_modified_at timestamp,
finish_date timestamp
2016-02-02 23:15:28 +05:30
, priority integer, cat_id references category(id));
2015-11-13 14:34:42 +05:30
2016-01-31 11:35:30 +05:30
CREATE TABLE files(name varchar(1000) not null, autoName varchar(255) not null);
2016-02-02 23:15:28 +05:30
CREATE TABLE category( id integer primary key autoincrement ,name varchar(1000) not null);