1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2025-01-23 22:26:45 +00:00
lemmy/migrations/2022-01-28-104106_instance-actor/up.sql

8 lines
369 B
MySQL
Raw Normal View History

ALTER TABLE site
ADD COLUMN actor_id varchar(255) NOT NULL UNIQUE DEFAULT generate_unique_changeme (),
ADD COLUMN last_refreshed_at Timestamp NOT NULL DEFAULT now(),
ADD COLUMN inbox_url varchar(255) NOT NULL DEFAULT generate_unique_changeme (),
ADD COLUMN private_key text,
ADD COLUMN public_key text NOT NULL DEFAULT generate_unique_changeme ();