mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-27 12:26:06 +00:00
fix sql format
This commit is contained in:
parent
b99a93b49b
commit
942510650b
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
CREATE TYPE actor_type_enum AS enum(
|
CREATE TYPE actor_type_enum AS enum (
|
||||||
'site',
|
'site',
|
||||||
'community',
|
'community',
|
||||||
'person'
|
'person'
|
||||||
|
@ -19,7 +19,7 @@ ALTER TABLE sent_activity
|
||||||
ALTER COLUMN actor_type DROP DEFAULT,
|
ALTER COLUMN actor_type DROP DEFAULT,
|
||||||
ALTER COLUMN actor_apub_id DROP DEFAULT;
|
ALTER COLUMN actor_apub_id DROP DEFAULT;
|
||||||
|
|
||||||
CREATE TABLE federation_queue_state(
|
CREATE TABLE federation_queue_state (
|
||||||
id serial PRIMARY KEY,
|
id serial PRIMARY KEY,
|
||||||
domain varchar(255) NOT NULL UNIQUE,
|
domain varchar(255) NOT NULL UNIQUE,
|
||||||
last_successful_id bigint NOT NULL,
|
last_successful_id bigint NOT NULL,
|
||||||
|
@ -28,5 +28,5 @@ CREATE TABLE federation_queue_state(
|
||||||
);
|
);
|
||||||
|
|
||||||
-- for incremental fetches of followers
|
-- 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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue