mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-09 16:08:49 -06:00
15 lines
633 B
MySQL
15 lines
633 B
MySQL
![]() |
-- Add federation columns to post, comment
|
||
|
|
||
|
alter table post
|
||
|
-- TODO uniqueness constraints should be added on these 3 columns later
|
||
|
add column ap_id character varying(255) not null default 'changeme', -- This needs to be checked and updated in code, building from the site url if local
|
||
|
add column local boolean not null default true
|
||
|
;
|
||
|
|
||
|
alter table comment
|
||
|
-- TODO uniqueness constraints should be added on these 3 columns later
|
||
|
add column ap_id character varying(255) not null default 'changeme', -- This needs to be checked and updated in code, building from the site url if local
|
||
|
add column local boolean not null default true
|
||
|
;
|
||
|
|