X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=db%2F08to09_pg.sql;h=2eac5dadf38bf4a5cc609871ff811fa619969725;hb=464ce741a41297e3d711668f27be190f8dc47d81;hp=ee590b52f9139b7219b7766969b27fc44a07d5a0;hpb=b139be6caf39628834ca34f5f7e58c1e08a3ebf3;p=quix0rs-gnu-social.git diff --git a/db/08to09_pg.sql b/db/08to09_pg.sql index ee590b52f9..2eac5dadf3 100644 --- a/db/08to09_pg.sql +++ b/db/08to09_pg.sql @@ -74,8 +74,10 @@ ALTER TABLE notice ADD COLUMN lat decimal(10, 7) /* comment 'latitude'*/; ALTER TABLE notice ADD COLUMN lon decimal(10,7) /* comment 'longitude'*/; ALTER TABLE notice ADD COLUMN location_id integer /* comment 'location id if possible'*/ ; ALTER TABLE notice ADD COLUMN location_ns integer /* comment 'namespace for location'*/; +ALTER TABLE notice ADD COLUMN repeat_of integer /* comment 'notice this is a repeat of' */ references notice (id); ALTER TABLE profile ADD COLUMN lat decimal(10,7) /*comment 'latitude'*/ ; ALTER TABLE profile ADD COLUMN lon decimal(10,7) /*comment 'longitude'*/; ALTER TABLE profile ADD COLUMN location_id integer /* comment 'location id if possible'*/; ALTER TABLE profile ADD COLUMN location_ns integer /* comment 'namespace for location'*/; +