mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
113 lines
No EOL
2.1 KiB
JSON
113 lines
No EOL
2.1 KiB
JSON
{
|
|
"version": "0.3.14-fixed",
|
|
"steps": [
|
|
{
|
|
"tag": "CreateSource",
|
|
"source": "db"
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Source",
|
|
"source": "db"
|
|
},
|
|
"argument": "provider",
|
|
"value": "\"sqlite\""
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Source",
|
|
"source": "db"
|
|
},
|
|
"argument": "url",
|
|
"value": "\"***\""
|
|
},
|
|
{
|
|
"tag": "CreateModel",
|
|
"model": "Task"
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "Task",
|
|
"field": "id",
|
|
"type": "Int",
|
|
"arity": "Required"
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "Task",
|
|
"field": "id"
|
|
},
|
|
"directive": "id"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "Task",
|
|
"field": "id"
|
|
},
|
|
"directive": "default"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "Task",
|
|
"field": "id"
|
|
},
|
|
"directive": "default"
|
|
},
|
|
"argument": "",
|
|
"value": "autoincrement()"
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "Task",
|
|
"field": "label",
|
|
"type": "String",
|
|
"arity": "Required"
|
|
},
|
|
{
|
|
"tag": "CreateField",
|
|
"model": "Task",
|
|
"field": "done",
|
|
"type": "Boolean",
|
|
"arity": "Required"
|
|
},
|
|
{
|
|
"tag": "CreateDirective",
|
|
"location": {
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "Task",
|
|
"field": "done"
|
|
},
|
|
"directive": "default"
|
|
}
|
|
},
|
|
{
|
|
"tag": "CreateArgument",
|
|
"location": {
|
|
"tag": "Directive",
|
|
"path": {
|
|
"tag": "Field",
|
|
"model": "Task",
|
|
"field": "done"
|
|
},
|
|
"directive": "default"
|
|
},
|
|
"argument": "",
|
|
"value": "false"
|
|
}
|
|
]
|
|
} |