aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/util.py
Commit message (Expand)AuthorAgeFilesLines
* Create function to search media by slug.Elrond2012-03-161-0/+9
* Generic check_media_slug_used db utility.Elrond2012-03-051-1/+10
* SQL: Tool to cleanup unused tag slugs.Elrond2012-03-051-0/+22
* Implement atomic_update for SQL.Elrond2012-03-041-1/+14
* Excepting that migration 1 doesn't work(!), sqlalchemy migration branch workingChristopher Allan Webber2012-01-291-2/+5
* Update the string outputs to match our tests: newlines, ...->:, etc.Christopher Allan Webber2012-01-291-2/+2
* migrations_to_run here a list, so no reason to call itChristopher Allan Webber2012-01-291-1/+1
* self.latest_migration now a property, so we shouldn't __call__ it!Christopher Allan Webber2012-01-291-1/+1
* For clarity, self.database -> self.session.Christopher Allan Webber2012-01-291-12/+12
* Yet *another* self.database -> self.database.bind fix!Christopher Allan Webber2012-01-291-1/+1
* Fix database_current_version for when self.migration_data is None.Christopher Allan Webber2012-01-291-0/+4
* another db -> db.bind fix.Christopher Allan Webber2012-01-291-1/+1
* A few basic fixes to sql/util.pyChristopher Allan Webber2012-01-291-5/+9
* Also switch database_current_migration to a propertyChristopher Allan Webber2012-01-291-3/+4
* Make latest_migration a propertyChristopher Allan Webber2012-01-291-0/+1
* Import MigrationData, not MigrationRecordChristopher Allan Webber2012-01-291-3/+3
* Another db->db.engine because I'm bad at things ;)Christopher Allan Webber2012-01-291-7/+7
* Another MigrationManager fix.Christopher Allan Webber2012-01-291-1/+1
* assert was positive when it should be negative, fixedChristopher Allan Webber2012-01-291-1/+1
* Use .first() instead of [0]... thanks elrond :)Christopher Allan Webber2012-01-291-5/+2
* We should probably add that object to the DB also :PChristopher Allan Webber2012-01-291-1/+2
* Commit that new migration record ;)Christopher Allan Webber2012-01-291-0/+1
* Add create_new_migration_record method to MigrationManagerChristopher Allan Webber2012-01-291-2/+7
* Added init_tables method to MigrationManagerChristopher Allan Webber2012-01-291-2/+12
* More work on SQL MigrationManagerChristopher Allan Webber2012-01-291-15/+25
* Removing printer argument now that we use self.printerChristopher Allan Webber2012-01-291-1/+1
* Finishing the init_or_migrate functionChristopher Allan Webber2012-01-291-1/+7
* More work on migration manager, including adding a dry run functionChristopher Allan Webber2012-01-291-6/+76
* Beginnings of the SQL migration managerChristopher Allan Webber2012-01-291-1/+100
* Big ol' start of the SQL migrations system.Christopher Allan Webber2012-01-291-0/+59