Add project revision foundation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user