add: channel mutes
This commit is contained in:
parent
02f3d08926
commit
884a89904e
17 changed files with 149 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
pub const VERSION_MIGRATIONS: &str = include_str!("./sql/version_migrations.sql");
|
||||
pub const CREATE_TABLE_USERS: &str = include_str!("./sql/create_users.sql");
|
||||
pub const CREATE_TABLE_COMMUNITIES: &str = include_str!("./sql/create_communities.sql");
|
||||
pub const CREATE_TABLE_POSTS: &str = include_str!("./sql/create_posts.sql");
|
||||
|
|
|
@ -27,5 +27,6 @@ CREATE TABLE IF NOT EXISTS users (
|
|||
was_purchased INT NOT NULL,
|
||||
browser_session TEXT NOT NULL,
|
||||
seller_data TEXT NOT NULL,
|
||||
ban_reason TEXT NOT NULL
|
||||
ban_reason TEXT NOT NULL,
|
||||
channel_mutes TEXT NOT NULL
|
||||
)
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
-- users channel_mutes
|
||||
ALTER TABLE users
|
||||
ADD COLUMN IF NOT EXISTS channel_mutes TEXT DEFAULT '[]';
|
Loading…
Add table
Add a link
Reference in a new issue