export const tableA = pgTable('tableA', {
id: serial('id').primaryKey(),
field1: text('field1').notNull(),
field2: text('field2').notNull().unique(),
field3: text('field3').notNull(),
field4: text('field4').notNull(),
field5: integer('field5').references(() => tableA.id), // Circular reference
});
export const tableA = pgTable('tableA', {
id: serial('id').primaryKey(),
field1: text('field1').notNull(),
field2: text('field2').notNull().unique(),
field3: text('field3').notNull(),
field4: text('field4').notNull(),
field5: integer('field5').references(() => tableA.id), // Circular reference
});