Christopher Allan Webber
|
511b10efda
We should *raise* MissingCurrentMigration :)
|
13 years ago |
Christopher Allan Webber
|
dab0d24d98
Made it so that it's migrate_new() which installs the migration
|
13 years ago |
Christopher Allan Webber
|
0143c5a1e4
No reason to have migration_number optional or default to None
|
13 years ago |
Christopher Allan Webber
|
9cf8b469e7
Move the call to install_migration_version_if_missing() to migrations_to_run()
|
13 years ago |
Christopher Allan Webber
|
1b38cfa3b7
install_migration_version_if_missing() now a separate function
|
13 years ago |
Christopher Allan Webber
|
8569533f21
Make sure all these strings in db/util.py are unicode
|
13 years ago |
Christopher Allan Webber
|
d0ee0003a2
Simpler run_migrations method.
|
13 years ago |
Christopher Allan Webber
|
32ae9e1b4e
Making sure migration_number > 0 :)
|
13 years ago |
Christopher Allan Webber
|
ec86d16a53
run_new_migrations() makes more sense
|
13 years ago |
Christopher Allan Webber
|
50bb8fe5e4
Changing things back so that we keep information about deprecated
|
13 years ago |
Christopher Allan Webber
|
363fc97259
Some instructions in the RegisterMigration docstring on how to use.
|
13 years ago |
Christopher Allan Webber
|
dca6406a90
latest_migration now returns migration numbers only, and 0 if no migrations.
|
13 years ago |
Christopher Allan Webber
|
993f0a9321
Migrating quietly, not iteratively, that comment should say!
|
13 years ago |
Christopher Allan Webber
|
51dcfb5682
New migration utility code.... I haven't tested this! ;)
|
13 years ago |
Caleb Forbes Davis V
|
9c0fe63fad
adds previous and next links in the sidebar
|
13 years ago |
Christopher Allan Webber
|
2527754202
Documenging index utils and adjusting how remove_deprecated_indexes gets arguments
|
13 years ago |
Christopher Allan Webber
|
0f3167c9f0
Tools to add / remove indexes from collections
|
13 years ago |
Elrond
|
3efdd97c2e
Move InvalidId to db.util
|
13 years ago |
Elrond
|
a67fec8177
Factor out most of the database connection into db/open.py
|
13 years ago |
Christopher Allan Webber
|
3262ad1dbb
Renaming connect_database to connect_database_from_config and using in from_celery
|
13 years ago |
Christopher Allan Webber
|
468bc8afce
Need to import asint for users who specify ports via config file
|
13 years ago |
Christopher Allan Webber
|
1815f5ce2e
Adding copyright headers and explaining why these unused imports are here
|
13 years ago |
Elrond
|
254bc43174
Move ObjectId, DESCENDING to db.util
|
13 years ago |
Elrond
|
a4bae8700e
Move "connect to database" into db/util.py
|
13 years ago |