Ausgangsbelege um Kostenstellenzuordnung erweitern
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
import { tenants } from "./tenants"
|
||||
import { units } from "./units"
|
||||
import { authUsers } from "./auth_users"
|
||||
import { costcentres } from "./costcentres"
|
||||
|
||||
export const services = pgTable("services", {
|
||||
id: bigint("id", { mode: "number" })
|
||||
@@ -35,6 +36,8 @@ export const services = pgTable("services", {
|
||||
|
||||
unit: bigint("unit", { mode: "number" }).references(() => units.id),
|
||||
|
||||
costcentre: uuid("costcentre").references(() => costcentres.id),
|
||||
|
||||
serviceNumber: bigint("serviceNumber", { mode: "number" }),
|
||||
|
||||
tags: jsonb("tags").default([]),
|
||||
|
||||
Reference in New Issue
Block a user