Add curv to backend schema
This commit is contained in:
2
app/api/db/migrations/20211129205924_curv/migration.sql
Normal file
2
app/api/db/migrations/20211129205924_curv/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterEnum
|
||||
ALTER TYPE "CadPackage" ADD VALUE 'curv';
|
||||
@@ -38,7 +38,7 @@ enum CadPackage {
|
||||
openscad
|
||||
cadquery
|
||||
jscad
|
||||
// curv // TODO uncomment when ready for users to save curv projects
|
||||
curv
|
||||
}
|
||||
|
||||
model Project {
|
||||
|
||||
@@ -19,6 +19,7 @@ export const schema = gql`
|
||||
childForks: [Project]!
|
||||
}
|
||||
|
||||
# should match enum in api/db/schema.prisma
|
||||
enum CadPackage {
|
||||
openscad
|
||||
cadquery
|
||||
|
||||
Reference in New Issue
Block a user