chore: full stack stability and migration fixes, plus react UI progress
This commit is contained in:
@@ -21,7 +21,7 @@ CREATE TABLE IF NOT EXISTS storage.buckets (
|
||||
id TEXT PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
public BOOLEAN DEFAULT false,
|
||||
owner UUID REFERENCES public.users(id),
|
||||
owner UUID REFERENCES auth.users(id),
|
||||
created_at TIMESTAMPTZ DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ DEFAULT now()
|
||||
);
|
||||
@@ -30,7 +30,7 @@ CREATE TABLE IF NOT EXISTS storage.objects (
|
||||
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
|
||||
bucket_id TEXT REFERENCES storage.buckets(id),
|
||||
name TEXT NOT NULL,
|
||||
owner UUID REFERENCES public.users(id),
|
||||
owner UUID REFERENCES auth.users(id),
|
||||
created_at TIMESTAMPTZ DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ DEFAULT now(),
|
||||
last_accessed_at TIMESTAMPTZ DEFAULT now(),
|
||||
|
||||
Reference in New Issue
Block a user