Add project revision foundation
This commit is contained in:
parent
6b6d2c2a42
commit
903d977443
16 changed files with 2052 additions and 9 deletions
|
|
@ -19,6 +19,7 @@ export class ProjectRepository {
|
|||
name: input.name,
|
||||
singlePhaseVoltageV: input.singlePhaseVoltageV ?? 230,
|
||||
threePhaseVoltageV: input.threePhaseVoltageV ?? 400,
|
||||
currentRevision: 0,
|
||||
};
|
||||
await db.insert(projects).values(project);
|
||||
return project;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue