Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DROP TABLE "audits" CASCADE\g
DROP SEQUENCE "audits_id_seq" CASCADE ;

CREATE SEQUENCE "audits_id_seq"  START WITH 63 ;

CREATE TABLE  "audits" (
   "id" integer DEFAULT nextval('"audits_id_seq"') NOT NULL,
   "auditable_id"   int default NULL, 
   "auditable_type"   varchar(255) default NULL, 
   "user_id"   int default NULL, 
   "user_type"   varchar(255) default NULL, 
   "username"   varchar(255) default NULL, 
   "action"   varchar(255) default NULL, 
   "changes"   text, 
   "version"   int default '0', 
   "created_at"   timestamp without time zone default NULL, 
   primary key ("id")
)     ;

--
-- Dumping data for table 'audits'
--

INSERT INTO "audits (id", "auditable_id", "auditable_type", "user_id", "user_type", "username", "action", "changes", "version", "created_at)" VALUES  
(1, 2, 'Feedback', NULL, NULL, NULL, 'create', '--- \nname: \n- \n- chris\nmessage: \n- \n- testing lang po\ntopic: \n- \n- some topic\nemail: \n- \n- coderkitty@sweetperceptions.com\n', 1, '2008-01-27 11:34:10'),