Skip to content

Commit

Permalink
Add review_timestamp to schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Niharika29 committed Jun 14, 2016
1 parent 2dc6c1c commit a3423c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions copyright_diffs_createTbl.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- creates table for storing suspected edits
create table copyright_diffs(id int(10) unsigned not null auto_increment primary key, project varchar(20) not null, lang varbinary(20) not null, diff int(10) unsigned not null, diff_timestamp binary(14) not null, page_title varbinary(255) not null, page_ns int(11) not null, ithenticate_id int(11) not null, report blob, status varbinary(255), status_user varbinary(255));
-- creates table for storing suspected edits
create table copyright_diffs(id int(10) unsigned not null auto_increment primary key, project varchar(20) not null, lang varbinary(20) not null, diff int(10) unsigned not null, diff_timestamp binary(14) not null, page_title varbinary(255) not null, page_ns int(11) not null, ithenticate_id int(11) not null, report blob, status varbinary(255), status_user varbinary(255), review_timestamp datetime default null);
create index copyright_page_idx on copyright_diffs(project, lang, page_title, page_ns);
create index copyright_time_idx on copyright_diffs(project, lang, diff_timestamp);

Expand Down

0 comments on commit a3423c0

Please sign in to comment.