mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-11 04:25:55 +00:00
sql format
This commit is contained in:
parent
f22d602a10
commit
fc0b7a9638
2 changed files with 2 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
ALTER TABLE community_aggregates
|
ALTER TABLE community_aggregates
|
||||||
DROP COLUMN local_subscribers;
|
DROP COLUMN local_subscribers;
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count ()
|
CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count ()
|
||||||
RETURNS TRIGGER
|
RETURNS TRIGGER
|
||||||
|
|
|
@ -19,11 +19,7 @@ SET
|
||||||
FROM
|
FROM
|
||||||
person
|
person
|
||||||
WHERE
|
WHERE
|
||||||
local
|
local));
|
||||||
)
|
|
||||||
)
|
|
||||||
;
|
|
||||||
|
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count ()
|
CREATE OR REPLACE FUNCTION community_aggregates_subscriber_count ()
|
||||||
RETURNS TRIGGER
|
RETURNS TRIGGER
|
||||||
|
|
Loading…
Reference in a new issue