tuxbot-bot/migrate.py

6 lines
148 B
Python

from utils import Config
from utils import Database
database = Database(Config("./configs/config.cfg"))
Base.metadata.create_all(database.engine)