This commit is contained in:
Tulir Asokan 2018-09-26 10:32:24 +03:00
parent 4550fa25f7
commit c161fd71e7
8 changed files with 848 additions and 6 deletions

20
maubot/db.py Normal file
View file

@ -0,0 +1,20 @@
# maubot - A plugin-based Matrix bot system.
# Copyright (C) 2018 Tulir Asokan
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
from sqlalchemy import (Column)
from sqlalchemy.ext.declarative import declarative_base
Base: declarative_base = declarative_base()