fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6de40ba94eb4cd08cf29b4acaba4829336998379
[wolnelektury.git]
/
apps
/
catalogue
/
migrations
/
0002_add_extra_info_to_book.py
1
from south.db import db
2
from catalogue.fields import JSONField
3
4
class Migration:
5
6
def forwards(self):
7
db.add_column('catalogue_book', 'extra_info', JSONField(null=True))
8
9
def backwards(self):
10
db.delete_column('catalogue_book', 'extra_info')
11