mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
23 lines
573 B
Python
23 lines
573 B
Python
from sqlalchemy.dialects.drizzle import base, mysqldb
|
|
|
|
base.dialect = mysqldb.dialect
|
|
|
|
from sqlalchemy.dialects.drizzle.base import \
|
|
BIGINT, BINARY, BLOB, \
|
|
BOOLEAN, CHAR, DATE, \
|
|
DATETIME, DECIMAL, DOUBLE, \
|
|
ENUM, FLOAT, INTEGER, \
|
|
NUMERIC, REAL, TEXT, \
|
|
TIME, TIMESTAMP, VARBINARY, \
|
|
VARCHAR, dialect
|
|
|
|
__all__ = (
|
|
'BIGINT', 'BINARY', 'BLOB',
|
|
'BOOLEAN', 'CHAR', 'DATE',
|
|
'DATETIME', 'DECIMAL', 'DOUBLE',
|
|
'ENUM', 'FLOAT', 'INTEGER',
|
|
'NUMERIC', 'REAL', 'TEXT',
|
|
'TIME', 'TIMESTAMP', 'VARBINARY',
|
|
'VARCHAR', 'dialect'
|
|
)
|