vzlogger/share/sql
Steffen Vogel 4ec446240c readded mysql schema
reworked README
2010-09-24 17:18:44 +02:00
..
demo Merge branch 'master' of github.com:volkszaehler/volkszaehler.org 2010-09-22 02:33:13 +02:00
mysql.sql readded mysql schema 2010-09-24 17:18:44 +02:00
README removed old database dumps 2010-07-19 18:55:18 +02:00

volkzaehler.org uses doctrine [1] as database abstraction and object relation model.

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

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