Garde-Havoc/bot/models/base.py

11 lines
178 B
Python
Raw Normal View History

2024-12-18 22:17:51 +01:00
from peewee import *
from playhouse.postgres_ext import *
import os
import datetime
db = SqliteDatabase('bot.db')
class BaseModel(Model):
class Meta:
database = db