mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 02:06:42 +02:00
refactor: restructure
monorepo with apps/ and services/ directories
This commit is contained in:
parent
25824ed0ac
commit
ff80aeec1f
4062 changed files with 2592 additions and 1278 deletions
6
apps/manadeck/supabase/migrations/remove_user_fkey.sql
Normal file
6
apps/manadeck/supabase/migrations/remove_user_fkey.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
-- Remove foreign key constraint on decks.user_id
|
||||
-- This allows storing Mana Core user IDs without requiring a local users table
|
||||
ALTER TABLE decks DROP CONSTRAINT IF EXISTS decks_user_id_fkey;
|
||||
|
||||
-- Optional: Add a comment to document that user_id references Mana Core users
|
||||
COMMENT ON COLUMN decks.user_id IS 'User ID from Mana Core authentication system';
|
||||
Loading…
Add table
Add a link
Reference in a new issue