~ubuntu-branches/ubuntu/saucy/migrate/saucy-proposed

« back to all changes in this revision

Viewing changes to migrate/tests/fixture/models.py

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner
  • Date: 2010-07-12 00:24:57 UTC
  • mfrom: (1.1.5 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100712002457-4j2fdmco4u9kqzm5
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from sqlalchemy import *
 
2
 
 
3
# test rundiffs in shell
 
4
meta_old_rundiffs = MetaData()
 
5
meta_rundiffs = MetaData()
 
6
meta = MetaData()
 
7
 
 
8
tmp_account_rundiffs = Table('tmp_account_rundiffs', meta_rundiffs,
 
9
    Column('id', Integer, primary_key=True),
 
10
    Column('login', Text()),
 
11
    Column('passwd', Text()),
 
12
)
 
13
 
 
14
tmp_sql_table = Table('tmp_sql_table', meta, Column('id', Integer))