tuxbot-bot/migrate.py
2019-12-16 18:12:10 +01:00

7 lines
196 B
Python

from cogs.utils.models import *
from cogs.utils.config import Config
from cogs.utils.database import Database
database = Database(Config("config.cfg"))
Base.metadata.create_all(database.engine)