Compare commits
No commits in common. "3bc440cbf897c31f1961abcf50be44ae8ceb0419" and "7876bc2c38ec4a74e4c8cfed59cf192115760824" have entirely different histories.
3bc440cbf8
...
7876bc2c38
@ -170,8 +170,6 @@ 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,6 +70,8 @@ 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