streamby-core 0.21.4 → 0.21.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -84,6 +84,7 @@ const ensureTablesExist = async (pool) => {
|
|
|
84
84
|
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
|
|
85
85
|
"projectId" UUID NOT NULL REFERENCES projects(id) ON DELETE CASCADE,
|
|
86
86
|
"userId" VARCHAR(255) NOT NULL,
|
|
87
|
+
role VARCHAR(255) NOT NULL DEFAULT 'member',
|
|
87
88
|
archived BOOLEAN NOT NULL DEFAULT FALSE,
|
|
88
89
|
"archivedBy" VARCHAR(255),
|
|
89
90
|
"archivedAt" TIMESTAMP WITH TIME ZONE,
|