from peewee import (
    Model,
    CharField,
    TextField,
    SqliteDatabase
)

from config import DATABASE


class BaseModel(Model):
    class Meta:
        database = SqliteDatabase(DATABASE)


class ChampionLink(BaseModel):
    """
    Model with russian_name and
    link format name for champion.
    """
    russian_name = TextField()
    link_name = TextField()


class Champion(BaseModel):
    """
    Model with all info about champion(cache).
    """
    link_name = CharField(unique=True)
    name = CharField(unique=True)
    roles = TextField()
    core_weapons = TextField()
    late_weapons = TextField()
    strong_against = TextField()
    weak_against = TextField()
    core_runes = TextField()
    extra_runes = TextField()

from peewee import (
    Model,
    CharField,
    TextField,
    SqliteDatabase
)

from config import DATABASE


class BaseModel(Model):
    class Meta:
        database = SqliteDatabase(DATABASE)


class ChampionLink(BaseModel):
    """
    Model with russian_name and
    link format name for champion.
    """
    russian_name = TextField()
    link_name = TextField()


class Champion(BaseModel):
    """
    Model with all info about champion(cache).
    """
    link_name = CharField(unique=True)
    name = CharField(unique=True)
    roles = TextField()
    core_weapons = TextField()
    late_weapons = TextField()
    strong_against = TextField()
    weak_against = TextField()
    core_runes = TextField()
    extra_runes = TextField()

Model with russian_name and     link format name for champion. Model with all info about champion(cache).