Write the adopted team Rule before the server listens so deploy cannot feature the old draft body.
This commit is contained in:
1 parent
29a8d2b32b
commit
1ec1f48d35
8 files changed
+232
-86
No files matched your search
@@ -1,11 +0,0 @@
|
||||
-- The team's adopted Rule replaces the September draft at GET /api/rules.
|
||||
-- Document bodies land when `prisma db seed` / `node prisma/seed.bundle.cjs` runs.
|
||||
UPDATE "PublishedRule"
|
||||
SET
|
||||
title = 'CommunityRule Creative Team',
|
||||
summary = 'We build and maintain CommunityRule for the communities that use it. It is free for every community that wants to write down how it decides.',
|
||||
visibility = 'public_and_featured'
|
||||
WHERE title IN (
|
||||
'The CommunityRule Project',
|
||||
'CommunityRule Creative Team'
|
||||
);
|
||||
Reference in new issue
Block a user