Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Remove createdBy

Edward Cuid0821188fba4
diff --git a/server/src/db/postgres/schema.ts b/server/src/db/postgres/schema.ts
index 48581bd24..74b86d082 100644
--- a/server/src/db/postgres/schema.ts
+++ b/server/src/db/postgres/schema.ts
@@ -284,7 +284,6 @@ export const importStatus = pgTable(
completedAt: timestamp("completed_at"),
fileName: text("file_name").notNull(),
fileSize: bigint("file_size", { mode: "number" }).notNull(),
- createdBy: text("created_by").notNull(),
},
(table) => [
foreignKey({
@@ -297,10 +296,5 @@ export const importStatus = pgTable(
foreignColumns: [organization.id],
name: "import_status_organization_id_organization_id_fk",
}),
- foreignKey({
- columns: [table.createdBy],
- foreignColumns: [user.id],
- name: "import_status_created_by_user_id_fk",
- }),
]
);