1
0
Fork 0
mirror of https://github.com/LemmyNet/lemmy.git synced 2024-12-14 22:30:42 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Dessalines be1389420b
Adding SQL format checking via pg_format / pgFormatter ()
* SQL format checking, 1.

* SQL format checking, 2.

* SQL format checking, 3.

* SQL format checking, 4.

* SQL format checking, 5.

* Running pg_format

* Getting rid of comment.

* Upping pg_format version.

* Using git ls-files for sql format check.

* Fixing sql lints.

* Addressing PR comments.
2023-08-02 12:44:51 -04:00
phiresky 922ee6a230
improve admin and mod check to not do seq scans and return unnecessary data ()
* improve admin and mod check

* fix clippy

* move admin index to existing code

* Revert "move admin index to existing code"

This reverts commit d0c58d5f4021e1775d0c1d30d8df6c7df87557c4.

* third attempt at the migration

* fix formatting

* rebuild

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-07-06 14:44:26 +02:00