Replace the old team draft Rule with the adopted CommunityRule Creative Team Rule.
Staging still listed the September draft under the old project name. Seed now upserts the adopted title, summary, and remade-deck cards, and a data migration renames the existing row so the public catalog picks it up on deploy.
This commit is contained in:
1 parent
6b4dda0e19
commit
29a8d2b32b
6 files changed
+397
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- 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