fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
145d7116c575af947d9080a2e77272f14d216a24
[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())
8
9
def backwards(self):
10
db.delete_column('catalogue_book', 'extra_info')
11