X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/blobdiff_plain/4d553a601c5f6008141440c3686fe8ad072ef33f..93ec1b86debd6a714006d31969274262600dae64:/sql/setup-pastebin.sql?ds=sidebyside

diff --git a/sql/setup-pastebin.sql b/sql/setup-pastebin.sql
index 9833172..391f8be 100644
--- a/sql/setup-pastebin.sql
+++ b/sql/setup-pastebin.sql
@@ -23,12 +23,12 @@ insert into odin_pastebin_seq (seq) values (10000);
 
 create table odin_pastebin
 	(tag varchar(16) primary key,
-	 stamp timestamp not null default current_timestamp,
+	 stamp bigint not null,
 	 edithash varchar(128) not null,
 	 owner varchar(64) not null,
 	 title varchar(128) not null,
 	 lang varchar(32) not null
-		default 'plain-text'
+		default 'txt'
 		references odin_pastebin_lang (lang)
 			on update cascade
 			on delete set default
