create table odin_shorturl
(tag varchar(16) primary key,
- stamp timestamp not null default current_timestamp,
+ stamp bigint not null,
owner varchar(64) not null,
url text not null);
create index odin_shorturl_by_owner on odin_shorturl (owner);
+create index odin_shorturl_by_url_owner on odin_shorturl (url, owner);
commit;