updated db README

This commit is contained in:
Justin Otherguy 2010-10-30 15:56:10 +02:00
parent 6ef9056ece
commit c58b0d92a2

View file

@ -4,15 +4,7 @@ To setup your database follow these steps:
1. Make sure you have a proper configuration file (backend/volkszaehler.conf.php)
2. Adjust the configuration to your database setup
3. Call backend/bin/doctrine orm:schema-tool:create
3. Call backend/bin/doctrine orm:schema-tool:create --dump-sql > share/sql/mysql.sql
4. import the resulting file using your favorite sql tool
Alternative way:
This folder contains some SQL dumps which can be imported in your database.
Be aware that these dumps can be outdated!
These dumps are generated with doctrine schema-tool:
backend/bin/doctrine orm:schema-tool:create --dump-sql > share/sql/mysql.sql
[1] http://www.doctrine-project.org
[1] http://www.doctrine-project.org