Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Doctrine Configuration
- doctrine:
- dbal:
- default_connection: default
- connections:
- default:
- driver: %database_driver%
- host: %database_host%
- port: %database_port%
- dbname: %database_name%
- user: %database_user%
- password: %database_password%
- charset: UTF8
- orm:
- default_entity_manager: default
- auto_generate_proxy_classes: %kernel.debug%
- entity_managers:
- default:
- connection: default
- metadata_cache_driver: array
- query_cache_driver: array
- result_cache_driver: array
- mappings:
- [my bundles here..]
- security:
- acl:
- connection: default
- ./app/console doctrine:database:drop --connection=default --force
- ./app/console doctrine:database:create --connection=default
- ./app/console doctrine:schema:create --em=prod
- ./app/console init:acl
- ALTER TABLE acl_classes CHANGE id id INT UNSIGNED AUTO_INCREMENT NOT NULL;
- ALTER TABLE acl_security_identities CHANGE id id INT UNSIGNED AUTO_INCREMENT NOT NULL;
- ALTER TABLE acl_object_identities CHANGE id id INT UNSIGNED AUTO_INCREMENT NOT NULL, CHANGE parent_object_identity_id parent_object_identity_id INT UNSIGNED DEFAULT NULL, CHANGE class_id class_id INT UNSIGNED NOT NULL;
- ALTER TABLE acl_object_identity_ancestors CHANGE object_identity_id object_identity_id INT UNSIGNED NOT NULL, CHANGE ancestor_id ancestor_id INT UNSIGNED NOT NULL;
- ALTER TABLE acl_entries CHANGE id id INT UNSIGNED AUTO_INCREMENT NOT NULL, CHANGE security_identity_id security_identity_id INT UNSIGNED NOT NULL, CHANGE object_identity_id object_identity_id INT UNSIGNED DEFAULT NULL, CHANGE class_id class_id INT UNSIGNED NOT NULL, CHANGE ace_order ace_order SMALLINT UNSIGNED NOT NULL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement