summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-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),