chiark
/
gitweb
/
~mdw
/
odin-cgi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/Odin.pm, mason/common/autohandler: Track time of the current job.
[odin-cgi]
/
sql
/
setup-pastebin.sql
diff --git
a/sql/setup-pastebin.sql
b/sql/setup-pastebin.sql
index 06d35449fb878aea8f651e5882005e91f840f107..b4e99a15e42c974bb1d2bcd10ee3182f70487838 100644
(file)
--- a/
sql/setup-pastebin.sql
+++ b/
sql/setup-pastebin.sql
@@
-14,7
+14,7
@@
drop table if exists odin_pastebin_lang;
drop table if exists odin_pastebin_seq;
create table 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');
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
owner varchar(64) not null,
title varchar(128) not null,
lang varchar(32) not null
- default '
plain-te
xt'
+ default '
t
xt'
references odin_pastebin_lang (lang)
on update cascade
on delete set default
references odin_pastebin_lang (lang)
on update cascade
on delete set default