diff --git a/migrations/2023-08-01-115243_persistent-activity-queue/up.sql b/migrations/2023-08-01-115243_persistent-activity-queue/up.sql index 9a9316af2..7bda7c9e0 100644 --- a/migrations/2023-08-01-115243_persistent-activity-queue/up.sql +++ b/migrations/2023-08-01-115243_persistent-activity-queue/up.sql @@ -1,4 +1,4 @@ -CREATE TYPE actor_type_enum AS enum( +CREATE TYPE actor_type_enum AS enum ( 'site', 'community', 'person' @@ -19,7 +19,7 @@ ALTER TABLE sent_activity ALTER COLUMN actor_type DROP DEFAULT, ALTER COLUMN actor_apub_id DROP DEFAULT; -CREATE TABLE federation_queue_state( +CREATE TABLE federation_queue_state ( id serial PRIMARY KEY, domain varchar(255) NOT NULL UNIQUE, last_successful_id bigint NOT NULL, @@ -28,5 +28,5 @@ CREATE TABLE federation_queue_state( ); -- for incremental fetches of followers -CREATE INDEX idx_community_follower_published ON community_follower(published); +CREATE INDEX idx_community_follower_published ON community_follower (published);