summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-07-22 21:28:47 +1200
committerBrenda Wallace <shiny@cpan.org>2009-07-22 21:28:47 +1200
commit6eaa91db1c80afa0811c0f465a18250ee63b490a (patch)
treec4ddf66a8ed05a500c5eda369acb810bec3881e6
parentc34875421ac97be26533bd494c048256136b8c1f (diff)
Fixes file_oembed to march mysql schema change that happened in commit 05e51228020fecaa894523b5159bc412d48e5b19
-rw-r--r--db/laconica_pg.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql
index 172b64cf4..f0a0aef4a 100644
--- a/db/laconica_pg.sql
+++ b/db/laconica_pg.sql
@@ -464,8 +464,7 @@ create table file (
create sequence file_oembed_seq;
create table file_oembed (
- id bigint default nextval('file_oembed_seq') primary key /* comment 'unique identifier' */,
- file_id bigint unique,
+ file_id bigint default nextval('file_oembed_seq') primary key /* comment 'unique identifier' */,
version varchar(20),
type varchar(20),
provider varchar(50),