mirror of
https://github.com/house-of-vanity/conf_bot.git
synced 2025-07-06 22:34:07 +00:00
test
This commit is contained in:
0
assets/cert.sh
Normal file → Executable file
0
assets/cert.sh
Normal file → Executable file
3
assets/main.db.sql
Normal file → Executable file
3
assets/main.db.sql
Normal file → Executable file
@ -2,6 +2,7 @@ BEGIN TRANSACTION;
|
||||
-- DROP TABLE IF EXISTS `word`;
|
||||
CREATE TABLE IF NOT EXISTS `word` (
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
`is_russian` INTEGER NOT NULL,
|
||||
`word` TEXT UNIQUE
|
||||
);
|
||||
-- DROP TABLE IF EXISTS `user`;
|
||||
@ -21,7 +22,7 @@ CREATE TABLE IF NOT EXISTS `relations` (
|
||||
`conf_id` INTEGER NOT NULL,
|
||||
`date` INTEGER NOT NULL,
|
||||
FOREIGN KEY(`conf_id`) REFERENCES `conf`(`id`),
|
||||
FOREIGN KEY(`word_id`) REFERENCES `word`(`id`) ON DELETE CASCADE,
|
||||
FOREIGN KEY(`word_id`) REFERENCES `word`(`id`),
|
||||
FOREIGN KEY(`user_id`) REFERENCES `user`(`id`)
|
||||
);
|
||||
-- DROP TABLE IF EXISTS `conf`;
|
||||
|
BIN
assets/mystem
Executable file
BIN
assets/mystem
Executable file
Binary file not shown.
3
assets/settings.ini.example
Executable file
3
assets/settings.ini.example
Executable file
@ -0,0 +1,3 @@
|
||||
[bot]
|
||||
telegram_key = 53004316d:dv0YexIXGHvmNojcD2mUaslKs0
|
||||
telegram_api = https://api.telegram.org/
|
0
assets/stop-word.ru
Normal file → Executable file
0
assets/stop-word.ru
Normal file → Executable file
Reference in New Issue
Block a user