mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-23 06:58:19 +02:00
Fix error when creating publicity participation records
Remove the `created_at` column from the `publicity_participations` table schema in `shared/schema.ts` to resolve a production error related to the column not existing. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/AVGwNHS
This commit is contained in:
1 parent
c675429634
commit
f03b71232f
3 files changed
-5
No files matched your search
@@ -23,10 +23,6 @@ externalPort = 3002
|
|||||||
localPort = 41343
|
localPort = 41343
|
||||||
externalPort = 3001
|
externalPort = 3001
|
||||||
|
|
||||||
[[ports]]
|
|
||||||
localPort = 44301
|
|
||||||
externalPort = 3000
|
|
||||||
|
|
||||||
[workflows]
|
[workflows]
|
||||||
runButton = "Project"
|
runButton = "Project"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 335 KiB |
@@ -140,7 +140,6 @@ export const publicities = pgTable("publicities", {
|
|||||||
export const publicityParticipations = pgTable("publicity_participations", {
|
export const publicityParticipations = pgTable("publicity_participations", {
|
||||||
publicityId: integer("publicity_id").notNull(),
|
publicityId: integer("publicity_id").notNull(),
|
||||||
groupId: integer("group_id").notNull(),
|
groupId: integer("group_id").notNull(),
|
||||||
createdAt: timestamp("created_at").defaultNow(),
|
|
||||||
}, (table) => ({
|
}, (table) => ({
|
||||||
pk: primaryKey({ columns: [table.publicityId, table.groupId] })
|
pk: primaryKey({ columns: [table.publicityId, table.groupId] })
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in new issue
Block a user