Mercurial > kallithea
annotate rhodecode/lib/dbmigrate/migrate.cfg @ 3376:e67b2ef07a8e beta
git executable is now configurable via .ini files
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 17 Feb 2013 22:58:09 +0100 |
parents | 08d2dcd71666 |
children |
rev | line source |
---|---|
835
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 [db_settings] |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 # Used to identify which repository this database is versioned under. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
3 # You can use the name of your project. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 repository_id=rhodecode_db_migrations |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 # The name of the database table used to track the schema version. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 # This name shouldn't already be used by your project. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 # If this is changed once a database is under version control, you'll need to |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 # change the table name in each database too. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
10 version_table=db_migrate_version |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
11 |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
12 # When committing a change script, Migrate will attempt to generate the |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
13 # sql for all supported databases; normally, if one of them fails - probably |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
14 # because you don't have that database installed - it is ignored and the |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
15 # commit continues, perhaps ending successfully. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 # Databases in this list MUST compile successfully during a commit, or the |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
17 # entire commit will fail. List the databases your application will actually |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
18 # be using to ensure your updates to that database work properly. |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
19 # This must be a list; example: ['postgres','sqlite'] |
08d2dcd71666
fixed imports on migrate, added getting current version from database
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
20 required_dbs=['sqlite'] |