Compare commits
2 Commits
7876bc2c38
...
3bc440cbf8
Author | SHA1 | Date | |
---|---|---|---|
3bc440cbf8 | |||
44dab5ba11 |
@ -170,6 +170,8 @@ export const FilesForMachinesTable = pgTable("files_for_machines", {
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const FilesTypeForMachine = pgTable("f_type_for_machines", {
|
export const FilesTypeForMachine = pgTable("f_type_for_machines", {
|
||||||
|
id: p.uuid("id").unique().primaryKey().defaultRandom().notNull(),
|
||||||
|
|
||||||
machineId: p
|
machineId: p
|
||||||
.uuid("machine_id")
|
.uuid("machine_id")
|
||||||
.notNull()
|
.notNull()
|
||||||
|
@ -70,8 +70,6 @@ export class MachinesService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO a method to delete a machine and delete the associated FilesTypeForMachine row
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes a specified file type from a machine.
|
* Removes a specified file type from a machine.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user