# Path: botlistbot/models/basemodel.py
# class BaseModel(Model):
#     class Meta:
#         database = db


from functools import lru_cache
from peewee import *
from botlistbot.models.basemodel import BaseModel
# -*- coding: utf-8 -*-




class Revision(BaseModel):
    nr = IntegerField(default=1)
    _instance = None

    @property
    def next(self):
        return self.nr + 1


# Path: botlistbot/models/basemodel.py
# class BaseModel(Model):
#     class Meta:
#         database = db


# Path: botlistbot/models/revision.py
from functools import lru_cache
from peewee import *
from botlistbot.models.basemodel import BaseModel

# -*- coding: utf-8 -*-




class Revision(BaseModel):
    nr = IntegerField(default=1)
    _instance = None

    @property
    def next(self):
        return self.nr + 1


    @staticmethod