Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
chore: sessions sql migration
Browse files Browse the repository at this point in the history
  • Loading branch information
seprintour committed Aug 18, 2023
1 parent 51f920a commit 09a517a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions sql-migrations/sessions_table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE TABLE sessions (
key VARCHAR(255) PRIMARY KEY,
value JSONB
);
3 changes: 2 additions & 1 deletion sql-migrations/telegram_tables_rls.sql
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ALTER TABLE telegram_bot_groups ENABLE ROW LEVEL SECURITY;
ALTER TABLE telegram_bot_groups ENABLE ROW LEVEL SECURITY;
ALTER TABLE sessions ENABLE ROW LEVEL SECURITY;

0 comments on commit 09a517a

Please sign in to comment.