add a organization table (addresses #40)
* development.ini: - change testing database to PostgreSQL - set required database version to 4 * data/dbrepo/versions/004_Add_organization_table.py: - create/drop organization table - add organizationid foreign key reference to client table * gnuviechadmin/backend/tables.py: - add reflected organization_table
This commit is contained in:
parent
33696436a0
commit
d4ba46a329
3 changed files with 37 additions and 3 deletions
|
|
@ -12,11 +12,11 @@ use = egg:gnuviechadmin#cli
|
|||
# sqlalchemy. The default is an sqlite in memory database which is not
|
||||
# very usable for a real installation.
|
||||
#
|
||||
sqlalchemy.uri = sqlite:///%(here)s/gva.db
|
||||
sqlalchemy.uri = postgres://localhost/gvatest
|
||||
sqlalchemy.echo = false
|
||||
|
||||
database.repository = %(here)s/data/dbrepo
|
||||
migrate.required_version = 3
|
||||
migrate.required_version = 4
|
||||
templatedir = %(here)s/data/templates
|
||||
mailtemplates = %(templatedir)s/mails
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue