This commit is contained in:
long2ice
2020-05-11 00:09:13 +08:00
commit 75e7a46e85
13 changed files with 627 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
from tortoise.backends.mysql.schema_generator import MySQLSchemaGenerator
from alice.backends import DDL
class MysqlDDL(DDL):
schema_generator_cls = MySQLSchemaGenerator
def drop_table(self):
pass
def add_column(self):
pass
def drop_column(self):
pass
def add_index(self):
pass
def drop_index(self):
pass
def add_fk(self):
pass
def drop_fk(self):
pass