コード例 #1
0
ファイル: sqlite.py プロジェクト: MNI-NIL/NIL-MNI.github.io
def _patch():
    util.prepend_base(sqlite.SQLiteDialect,SQLiteDialectChangeset)
    sqlite.SQLiteSchemaGenerator.__bases__ += (SQLiteConstraintGenerator,)
    util.prepend_base(sqlite.SQLiteSchemaDropper,SQLiteConstraintDropper)
コード例 #2
0
ファイル: oracle.py プロジェクト: zeroamplitude/bookworm
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
ファイル: sqlite.py プロジェクト: zeroamplitude/bookworm
def _patch():
    util.prepend_base(sqlite.SQLiteDialect, SQLiteDialectChangeset)
    sqlite.SQLiteSchemaGenerator.__bases__ += (SQLiteConstraintGenerator, )
    util.prepend_base(sqlite.SQLiteSchemaDropper, SQLiteConstraintDropper)
コード例 #5
0
ファイル: mysql.py プロジェクト: zeroamplitude/bookworm
def _patch():
    util.prepend_base(mysql.MySQLDialect,MySQLDialectChangeset)
    mysql.MySQLSchemaGenerator.__bases__ += (MySQLConstraintGenerator,)
    mysql.MySQLSchemaDropper.__bases__ += (MySQLConstraintDropper,)