From 579883b66bceefe7b50157401bccbf66a6c5d58e Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Wed, 23 Jul 2025 18:54:11 +0200 Subject: feat(auth): tower session --- crates/auth/migrations/20250723121223_oauth_account.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 crates/auth/migrations/20250723121223_oauth_account.sql (limited to 'crates/auth/migrations/20250723121223_oauth_account.sql') diff --git a/crates/auth/migrations/20250723121223_oauth_account.sql b/crates/auth/migrations/20250723121223_oauth_account.sql new file mode 100644 index 0000000..826fbcc --- /dev/null +++ b/crates/auth/migrations/20250723121223_oauth_account.sql @@ -0,0 +1,7 @@ +CREATE TABLE oauth_account ( + provider_id text not null, + provider_user_id text not null, + user_id uuid not null, + primary key (provider_id, provider_user_id), + foreign key (user_id) references auth_user(id) +); -- cgit v1.2.3