mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-28 02:50:30 +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'
|
|
)
|