mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 15:46:52 +03:00
45 lines
2.3 KiB
JSON
45 lines
2.3 KiB
JSON
{
|
|
"manifests": {
|
|
"jonathankablan/fast-entity-bundle": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Jonathankablan\\Bundle\\FastEntityBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"config/packages/fast_entity.yaml": {
|
|
"contents": [
|
|
"fast_entity:",
|
|
" tables:",
|
|
" - { name: 'admin' }",
|
|
" - { name: 'formation' }",
|
|
" schema:",
|
|
" # User",
|
|
" - { entity: 'admin', property: 'username', type: 'string', length: 255, nullable: true }",
|
|
" - { entity: 'admin', property: 'password', type: 'string', length: 255, nullable: true }",
|
|
" - { entity: 'admin', property: 'email', type: 'string', length: 255, nullable: true }",
|
|
" - { entity: 'admin', property: 'active', type: 'boolean', nullable: true }",
|
|
" - { entity: 'admin', property: 'created', type: 'datetime', nullable: true }",
|
|
" - { entity: 'admin', property: 'updated', type: 'datetime', nullable: true }",
|
|
" # Formation",
|
|
" - { entity: 'formation', property: 'location', type: 'string', length: 255, nullable: true }",
|
|
" - { entity: 'formation', property: 'price', type: 'integer', length: 11, nullable: true }",
|
|
" - { entity: 'formation', property: 'created', type: 'datetime', nullable: true }",
|
|
" - { entity: 'formation', property: 'updated', type: 'datetime', nullable: true }",
|
|
" relations:",
|
|
" - { entityTo: 'admin', entityFrom: 'formation', relation: 'OneToOne' }",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "bc39fd65adffdb41898701f635e819416744f98f"
|
|
}
|
|
}
|
|
}
|