Download this file

model.py    11 lines (9 with data), 270 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from ming import Document, Field
from ming import schema as S
from ming import Session
class MigrationInfo(Document):
class __mongometa__:
name='_flyway_migration_info'
session = Session()
_id = Field(S.ObjectId)
versions = Field({str:int})