mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 06:51:45 -04:00
Rename love_waitlist
This commit is contained in:
@@ -15,7 +15,7 @@ BEGIN;
|
||||
\i backend/supabase/compatibility_prompts.sql
|
||||
\i backend/supabase/profile_ships.sql
|
||||
\i backend/supabase/profile_stars.sql
|
||||
\i backend/supabase/love_waitlist.sql
|
||||
\i backend/supabase/user_waitlist.sql
|
||||
\i backend/supabase/user_events.sql
|
||||
\i backend/supabase/user_notifications.sql
|
||||
\i backend/supabase/functions_others.sql
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
CREATE TABLE IF NOT EXISTS love_waitlist (
|
||||
CREATE TABLE IF NOT EXISTS user_waitlist (
|
||||
id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
|
||||
created_time TIMESTAMPTZ DEFAULT now() NOT NULL,
|
||||
email TEXT NOT NULL
|
||||
);
|
||||
|
||||
-- Row Level Security
|
||||
ALTER TABLE love_waitlist ENABLE ROW LEVEL SECURITY;
|
||||
ALTER TABLE user_waitlist ENABLE ROW LEVEL SECURITY;
|
||||
|
||||
-- Policies
|
||||
DROP POLICY IF EXISTS "anon insert" ON love_waitlist;
|
||||
CREATE POLICY "anon insert" ON love_waitlist
|
||||
DROP POLICY IF EXISTS "anon insert" ON user_waitlist;
|
||||
CREATE POLICY "anon insert" ON user_waitlist
|
||||
FOR INSERT WITH CHECK (true);
|
||||
|
||||
-- Indexes
|
||||
@@ -232,7 +232,7 @@ export type Database = {
|
||||
}
|
||||
Relationships: []
|
||||
}
|
||||
love_waitlist: {
|
||||
user_waitlist: {
|
||||
Row: {
|
||||
created_time: string
|
||||
email: string
|
||||
|
||||
Reference in New Issue
Block a user