~mdw
/
odin-cgi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Store Unix timestamps in the database, rather than SQL ones.
[odin-cgi]
/
sql
/
setup-pastebin.sql
diff --git
a/sql/setup-pastebin.sql
b/sql/setup-pastebin.sql
index
b4e99a1
..
391f8be
100644
(file)
--- a/
sql/setup-pastebin.sql
+++ b/
sql/setup-pastebin.sql
@@
-23,7
+23,7
@@
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,