Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/t/e/Tempo-HEAD/tempo/db/migrate_repo/versions/001_add_tasks_table.py   Tempo(Download)
from sqlalchemy.schema import (Column, MetaData, Table)
 
from tempo.db.migrate_repo.schema import (
    Boolean, DateTime, Integer, String, Text, create_tables, drop_tables)
 
def downgrade(migrate_engine):
    meta.bind = migrate_engine
    drop_tables([tasks])
 

src/t/e/Tempo-HEAD/tempo/db/migrate_repo/versions/002_add_task_parameters_table.py   Tempo(Download)
from sqlalchemy.schema import (Column, MetaData, Table)
 
from tempo.db.migrate_repo.schema import (
    Boolean, DateTime, Integer, String, Text, create_tables, drop_tables)
 
def downgrade(migrate_engine):
    meta.bind = migrate_engine
    drop_tables([task_params])
 

src/t/e/tempo-0.12/tempo/db/migrate_repo/versions/001_add_tasks_table.py   tempo(Download)
from sqlalchemy.schema import (Column, MetaData, Table)
 
from tempo.db.migrate_repo.schema import (
    Boolean, DateTime, Integer, String, Text, create_tables, drop_tables)
 
def downgrade(migrate_engine):
    meta.bind = migrate_engine
    drop_tables([tasks])