Aircraft schema added

This commit is contained in:
Nabeel Shahzad 2017-06-08 20:06:16 -05:00
parent 4fcfc84ccf
commit 2a167c9337
2 changed files with 57 additions and 0 deletions

View File

@ -24,6 +24,7 @@ reset-db:
schema:
#php artisan infyom:scaffold Airlines --fieldsFile=database/schema/airlines.json
php artisan infyom:scaffold Aircraft --fieldsFile=database/schema/aircraft.json
echo ""
docker:

View File

@ -0,0 +1,56 @@
[
{
"name": "id",
"dbType": "increments",
"htmlType": "",
"validations": "",
"searchable": false,
"fillable": false,
"primary": true,
"inForm": false,
"inIndex": false
},
{
"name": "icao",
"dbType": "string",
"htmlType": "text",
"validations": "required|max:4",
"searchable": true
},
{
"name": "name",
"dbType": "string",
"htmlType": "text",
"validations": "required",
"searchable": true
},
{
"name": "enabled",
"dbType": "boolean",
"htmlType": "checkbox",
"validations": "",
"searchable": false
},
{
"name": "created_at",
"dbType": "timestamp",
"htmlType": "",
"validations": "",
"searchable": false,
"fillable": false,
"primary": false,
"inForm": false,
"inIndex": false
},
{
"name": "updated_at",
"dbType": "timestamp",
"htmlType": "",
"validations": "",
"searchable": false,
"fillable": false,
"primary": false,
"inForm": false,
"inIndex": false
}
]