From 6eaa91db1c80afa0811c0f465a18250ee63b490a Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 22 Jul 2009 21:28:47 +1200 Subject: [PATCH] Fixes file_oembed to march mysql schema change that happened in commit 05e51228020fecaa894523b5159bc412d48e5b19 --- db/laconica_pg.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/db/laconica_pg.sql b/db/laconica_pg.sql index 172b64cf4b..f0a0aef4ac 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), -- 2.39.5