tuxbot-bot/migrate.py

8 lines
206 B
Python
Raw Normal View History

2019-12-16 18:12:10 +01:00
from cogs.utils.models import *
from cogs.utils.config import Config
from cogs.utils.database import Database
database = Database(Config("./configs/config.cfg"))
2019-12-16 18:12:10 +01:00
Base.metadata.create_all(database.engine)