From c58b0d92a2cc68fe466ac7dfa53af7267765731d Mon Sep 17 00:00:00 2001 From: Justin Otherguy Date: Sat, 30 Oct 2010 15:56:10 +0200 Subject: [PATCH] updated db README --- share/sql/README | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/share/sql/README b/share/sql/README index 54b1028..523eb24 100644 --- a/share/sql/README +++ b/share/sql/README @@ -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 \ No newline at end of file +[1] http://www.doctrine-project.org