import { pgTable, serial, text, timestamp, integer, real, json, boolean } from "drizzle-orm/pg-core";
export const branchLocationTable = pgTable("branchLocation", {
id: serial("id").primaryKey(),
locationId: integer("locationId"),
branchId: integer("branchId"),
activeStatus: boolean("activeStatus"),
});
export type BranchLocation = typeof branchLocationTable.$inferSelect;
import { pgTable, serial, text, timestamp, integer, real, json, boolean } from "drizzle-orm/pg-core";
export const branchLocationTable = pgTable("branchLocation", {
id: serial("id").primaryKey(),
locationId: integer("locationId"),
branchId: integer("branchId"),
activeStatus: boolean("activeStatus"),
});
export type BranchLocation = typeof branchLocationTable.$inferSelect;