| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
for plugins. In this commit I changed the MigrationManager and DatabaseData ob-
jects to account for FOUNDATIONS in any plugin's (or main program's) models.py
file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mediagoblin/db/models.py. This list holds all of the information about rows that
should be created at database initialization. Read the documentation near the
FOUNDATIONS list to understand the proper format for this list.
All of the work is done through a new method on MigrationManager in
mediagoblin/db/migrations_tools.py. This method, `populate_table_foundations`
parses the FOUNDATIONS list and creates the foundations based on the data incl-
uded. This only ever happens when the database is initialized. Migrations to
releases with new Foundations should be very easy just using the basic
database functionality.
|
|
|
|
|
|
| |
Previously it called even plugins media types. Ha!
This commit sponsored by Jon Merkley. Thank you!
|
|
|
|
|
|
| |
during migrations
This commit sponsored by Andrzej Prochyra. Thanks!
|
|
Follow the new trend.
|