Jan Dittberner
09180938f1
* make code PEP8 clean (addresses #18) * add copyright information to all python files git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/trunk@257 a67ec6bc-e5d5-0310-a910-815c51eb3124
16 lines
342 B
Python
16 lines
342 B
Python
from sqlalchemy import *
|
|
from migrate import *
|
|
|
|
meta = BoundMetaData(migrate_engine)
|
|
account = Table('account', meta,
|
|
Column('id', Integer, primary_key=True),
|
|
Column('login', String(40)),
|
|
Column('passwd', String(40)))
|
|
|
|
|
|
def upgrade():
|
|
account.create()
|
|
|
|
|
|
def downgrade():
|
|
account.drop()
|