From 9925301ce01220fb565b48b7cbc2e961915e9241 Mon Sep 17 00:00:00 2001 From: Suraj Date: Tue, 2 Feb 2016 23:15:28 +0530 Subject: [PATCH] updated DDL for category --- schema.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/schema.sql b/schema.sql index d7bce8c..da880f1 100644 --- a/schema.sql +++ b/schema.sql @@ -6,6 +6,8 @@ is_deleted char(1) default 'N', created_date timestamp, last_modified_at timestamp, finish_date timestamp -, priority int); +, priority integer, cat_id references category(id)); CREATE TABLE files(name varchar(1000) not null, autoName varchar(255) not null); + +CREATE TABLE category( id integer primary key autoincrement ,name varchar(1000) not null);