Skip to content

Commit

Permalink
deploy bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kagrawal2 committed Dec 29, 2016
1 parent 4d9c68b commit e4f8ab3
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions db_repository/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This is a database migration repository.

More information at
http://code.google.com/p/sqlalchemy-migrate/
Empty file added db_repository/__init__.py
Empty file.
Binary file added db_repository/__pycache__/__init__.cpython-34.pyc
Binary file not shown.
5 changes: 5 additions & 0 deletions db_repository/manage.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env python
from migrate.versioning.shell import main

if __name__ == '__main__':
main()
25 changes: 25 additions & 0 deletions db_repository/migrate.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[db_settings]
# Used to identify which repository this database is versioned under.
# You can use the name of your project.
repository_id=database repository

# The name of the database table used to track the schema version.
# This name shouldn't already be used by your project.
# If this is changed once a database is under version control, you'll need to
# change the table name in each database too.
version_table=migrate_version

# When committing a change script, Migrate will attempt to generate the
# sql for all supported databases; normally, if one of them fails - probably
# because you don't have that database installed - it is ignored and the
# commit continues, perhaps ending successfully.
# Databases in this list MUST compile successfully during a commit, or the
# entire commit will fail. List the databases your application will actually
# be using to ensure your updates to that database work properly.
# This must be a list; example: ['postgres','sqlite']
required_dbs=[]

# When creating new change scripts, Migrate will stamp the new script with
# a version number. By default this is latest_version + 1. You can set this
# to 'true' to tell Migrate to use the UTC timestamp instead.
use_timestamp_numbering=False
Empty file.
Binary file not shown.

0 comments on commit e4f8ab3

Please sign in to comment.