Added a new recipe for FastEntityBundle 2.x

This commit is contained in:
Jonathan
2020-03-11 18:14:23 +01:00
parent b1eab1332c
commit 67d069c6d5
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,19 @@
#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 }
# # Conference
# - { 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' }
@@ -0,0 +1,9 @@
{
"bundles": {
"Jonathankablan\\Bundle\\FastEntityBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
}
}