mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 08:59:39 +02:00
Projects included: - maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing) - manacore (Expo mobile + SvelteKit web + Astro landing) - manadeck (NestJS backend + Expo mobile + SvelteKit web) - memoro (Expo mobile + SvelteKit web + Astro landing) This commit preserves the current state before monorepo restructuring. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6 lines
357 B
SQL
6 lines
357 B
SQL
-- 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';
|