chiark / gitweb /
lib/Odin.pm, mason/common/autohandler: Track time of the current job.
[odin-cgi] / sql / setup-pastebin.sql
index 06d35449fb878aea8f651e5882005e91f840f107..b4e99a15e42c974bb1d2bcd10ee3182f70487838 100644 (file)
@@ -14,7 +14,7 @@ drop table if exists odin_pastebin_lang;
 drop table if exists odin_pastebin_seq;
 
 create table odin_pastebin_lang
-       (lang varchar(32) primary key
+       (lang varchar(32) primary key,
         descr varchar(64) not null);
 insert into odin_pastebin_lang (lang, descr) values ('txt', 'Plain text');
 
@@ -28,7 +28,7 @@ create table odin_pastebin
         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