command Handlers and schema update
This commit is contained in:
parent
0f6401953f
commit
7883bb7d7f
42 changed files with 1076 additions and 159 deletions
|
@ -126,10 +126,9 @@ export const inspection_table = new Table({
|
|||
export const inspection_point_result_table = new Table({
|
||||
name: "inspection_point_result",
|
||||
columns: [
|
||||
{ name: "id", ...getTypeByORM("uuid"), ...isUUIDPrimary },
|
||||
{ name: "inspectionId", ...getTypeByORM("uuid"), isPrimary: true },
|
||||
{ name: "inspectionPointId", ...getTypeByORM("uuid"), isPrimary: true },
|
||||
{ name: "value", ...getTypeByORM("text") },
|
||||
{ name: "inspectionId", ...getTypeByORM("uuid") },
|
||||
{ name: "inspectionPointId", ...getTypeByORM("uuid") },
|
||||
],
|
||||
foreignKeys: [
|
||||
new TableForeignKey({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue