seed.js should now upload the L1 & L2 emojis
This commit is contained in:
10
db/migrations/0004-auto-emoji-guild.sql
Normal file
10
db/migrations/0004-auto-emoji-guild.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
BEGIN TRANSACTION;
|
||||
|
||||
CREATE TABLE auto_emoji (
|
||||
name TEXT NOT NULL,
|
||||
emoji_id TEXT NOT NULL,
|
||||
guild_id TEXT NOT NULL,
|
||||
PRIMARY KEY (name)
|
||||
) WITHOUT ROWID;
|
||||
|
||||
COMMIT;
|
6
db/orm-defs.d.ts
vendored
6
db/orm-defs.d.ts
vendored
@@ -75,6 +75,12 @@ export type Models = {
|
||||
message_id: string
|
||||
encoded_emoji: string
|
||||
}
|
||||
|
||||
auto_emoji: {
|
||||
name: string
|
||||
emoji_id: string
|
||||
guild_id: string
|
||||
}
|
||||
}
|
||||
|
||||
export type Prepared<Row> = {
|
||||
|
Reference in New Issue
Block a user