mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 17:44:03 +00:00
feat(bot): add configurable household assistant behavior
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"0014_empty_risque.sql": "6dd4aba0f84d43bc86afbd04cad3b1055ecac03bd80ad6fd510bef1550d10335",
|
||||
"0015_white_owl.sql": "a9dec4c536c660d7eb0fcea42a3bedb1301408551977d098dff8324d7d5b26bd",
|
||||
"0016_equal_susan_delgado.sql": "1698bf0516d16d2d7929dcb1bd2bb76d5a629eaba3d0bb2533c1ae926408de7a",
|
||||
"0017_gigantic_selene.sql": "232d61b979675ddb97c9d69d14406dc15dd095ee6a332d3fa71d10416204fade"
|
||||
"0017_gigantic_selene.sql": "232d61b979675ddb97c9d69d14406dc15dd095ee6a332d3fa71d10416204fade",
|
||||
"0018_nimble_kojori.sql": "818738e729119c6de8049dcfca562926a5dc6e321ecbbf9cf38e02bc70b5a0dc"
|
||||
}
|
||||
}
|
||||
|
||||
2
packages/db/drizzle/0018_nimble_kojori.sql
Normal file
2
packages/db/drizzle/0018_nimble_kojori.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
ALTER TABLE "households" ADD COLUMN "assistant_context" text;
|
||||
ALTER TABLE "households" ADD COLUMN "assistant_tone" text;
|
||||
3234
packages/db/drizzle/meta/0018_snapshot.json
Normal file
3234
packages/db/drizzle/meta/0018_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -127,6 +127,13 @@
|
||||
"when": 1773226133315,
|
||||
"tag": "0017_gigantic_selene",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 18,
|
||||
"version": "7",
|
||||
"when": 1773252000000,
|
||||
"tag": "0018_nimble_kojori",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -16,6 +16,8 @@ export const households = pgTable('households', {
|
||||
id: uuid('id').defaultRandom().primaryKey(),
|
||||
name: text('name').notNull(),
|
||||
defaultLocale: text('default_locale').default('ru').notNull(),
|
||||
assistantContext: text('assistant_context'),
|
||||
assistantTone: text('assistant_tone'),
|
||||
createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user