completionId: cgen-57730e6e529247b6afde2b23b621f923
cgen-57730e6e529247b6afde2b23b621f923
This commit is contained in:
parent
f7f6e9e9aa
commit
db0593ce8d
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ CREATE TABLE IF NOT EXISTS staff_members (
|
||||||
-- Staff contractors table
|
-- Staff contractors table
|
||||||
CREATE TABLE IF NOT EXISTS staff_contractors (
|
CREATE TABLE IF NOT EXISTS staff_contractors (
|
||||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||||
user_id UUID NOT NULL UNIQUE REFERENCES auth.users(id) ON DELETE CASCADE,
|
user_id UUID UNIQUE REFERENCES auth.users(id) ON DELETE CASCADE,
|
||||||
email TEXT NOT NULL UNIQUE,
|
email TEXT NOT NULL UNIQUE,
|
||||||
full_name TEXT NOT NULL,
|
full_name TEXT NOT NULL,
|
||||||
position TEXT,
|
position TEXT,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue