fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dont use celery to index - seems it gets blocked on index file access
[wolnelektury.git]
/
apps
/
catalogue
/
migrations
/
0009_auto.py
diff --git
a/apps/catalogue/migrations/0009_auto.py
b/apps/catalogue/migrations/0009_auto.py
index
3153879
..
9c8e5c9
100644
(file)
--- a/
apps/catalogue/migrations/0009_auto.py
+++ b/
apps/catalogue/migrations/0009_auto.py
@@
-11,6
+11,9
@@
class Migration(SchemaMigration):
# Removing M2M table for field medias on 'Book'
db.delete_table('catalogue_book_medias')
# Removing M2M table for field medias on 'Book'
db.delete_table('catalogue_book_medias')
+ # Changing field 'BookMedia.book'
+ db.alter_column('catalogue_bookmedia', 'book_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['catalogue.Book']))
+
def backwards(self, orm):
def backwards(self, orm):
@@
-22,6
+25,9
@@
class Migration(SchemaMigration):
))
db.create_unique('catalogue_book_medias', ['book_id', 'bookmedia_id'])
))
db.create_unique('catalogue_book_medias', ['book_id', 'bookmedia_id'])
+ # Changing field 'BookMedia.book'
+ db.alter_column('catalogue_bookmedia', 'book_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['catalogue.Book']))
+
models = {
'auth.group': {
models = {
'auth.group': {