mirror of
https://github.com/whekin/household-bot.git
synced 2026-04-01 03:34:03 +00:00
feat(bot): quiet finance topics and support purchase payers
This commit is contained in:
7
packages/db/drizzle/0021_sharp_payer.sql
Normal file
7
packages/db/drizzle/0021_sharp_payer.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
ALTER TABLE "purchase_messages"
|
||||
ADD COLUMN "payer_member_id" uuid REFERENCES "members"("id") ON DELETE SET NULL;
|
||||
|
||||
UPDATE "purchase_messages"
|
||||
SET "payer_member_id" = "sender_member_id"
|
||||
WHERE "payer_member_id" IS NULL
|
||||
AND "sender_member_id" IS NOT NULL;
|
||||
@@ -148,6 +148,13 @@
|
||||
"when": 1773590603863,
|
||||
"tag": "0020_natural_mauler",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 21,
|
||||
"version": "7",
|
||||
"when": 1774200000000,
|
||||
"tag": "0021_sharp_payer",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user