mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-27 02:52:22 +03:00
77 lines
1.4 KiB
JSON
77 lines
1.4 KiB
JSON
{
|
|
"version": "0.3.14-fixed",
|
|
"steps": [
|
|
{
|
|
"tag": "CreateModel",
|
|
"model": "User"
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "User",
|
|
"field": "id",
|
|
"type": "Int",
|
|
"arity": "Required"
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "id"
|
|
},
|
|
"directive": "id"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "id"
|
|
},
|
|
"directive": "default"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "id"
|
|
},
|
|
"directive": "default"
|
|
},
|
|
"argument": "",
|
|
"value": "autoincrement()"
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "User",
|
|
"field": "email",
|
|
"type": "String",
|
|
"arity": "Required"
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "User",
|
|
"field": "email"
|
|
},
|
|
"directive": "unique"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "User",
|
|
"field": "password",
|
|
"type": "String",
|
|
"arity": "Required"
|
|
}
|
|
]
|
|
} |