示例#1
0
def _patch():
    util.prepend_base(sqlite.SQLiteDialect,SQLiteDialectChangeset)
    sqlite.SQLiteSchemaGenerator.__bases__ += (SQLiteConstraintGenerator,)
    util.prepend_base(sqlite.SQLiteSchemaDropper,SQLiteConstraintDropper)
示例#2
0
def _patch():
    util.prepend_base(oracle.OracleDialect,OracleDialectChangeset)
    oracle.OracleSchemaGenerator.__bases__ += (OracleConstraintGenerator,)
    oracle.OracleSchemaDropper.__bases__ += (OracleConstraintDropper,)
示例#3
0
def _patch():
    util.prepend_base(postgres.PGDialect,PGDialectChangeset)
    postgres.PGSchemaGenerator.__bases__ += (PGConstraintGenerator,)
    postgres.PGSchemaDropper.__bases__ += (PGConstraintDropper,)
示例#4
0
def _patch():
    util.prepend_base(sqlite.SQLiteDialect, SQLiteDialectChangeset)
    sqlite.SQLiteSchemaGenerator.__bases__ += (SQLiteConstraintGenerator, )
    util.prepend_base(sqlite.SQLiteSchemaDropper, SQLiteConstraintDropper)
示例#5
0
def _patch():
    util.prepend_base(mysql.MySQLDialect,MySQLDialectChangeset)
    mysql.MySQLSchemaGenerator.__bases__ += (MySQLConstraintGenerator,)
    mysql.MySQLSchemaDropper.__bases__ += (MySQLConstraintDropper,)