forked from purplebored/purplebored.pl
17 lines
318 B
Python
17 lines
318 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""Flask Database"""
|
|
|
|
from typing import Tuple
|
|
|
|
from flask_migrate import Migrate # type: ignore
|
|
from flask_sqlalchemy import SQLAlchemy # type: ignore
|
|
|
|
__all__: Tuple[str, str] = (
|
|
"db",
|
|
"migrate",
|
|
)
|
|
|
|
db: SQLAlchemy = SQLAlchemy()
|
|
migrate: Migrate = Migrate()
|