pavansuresh commited on
Commit
548a348
·
verified ·
1 Parent(s): d5d3a6b

Create schema.sql

Browse files
Files changed (1) hide show
  1. schema.sql +11 -0
schema.sql ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ CREATE DATABASE contracts_db;
2
+
3
+ \connect contracts_db;
4
+
5
+ CREATE TABLE contracts (
6
+ id SERIAL PRIMARY KEY,
7
+ content TEXT NOT NULL,
8
+ entities JSONB,
9
+ compliance JSONB,
10
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
11
+ );