

@classmethod
def create_table(cls, fail_silently=False):
    if (fail_silently and cls.table_exists()):
        return
    db = cls._meta.database
    pk = cls._meta.primary_key
    if (db.sequences and (pk is not False) and pk.sequence):
        if (not db.sequence_exists(pk.sequence)):
            db.create_sequence(pk.sequence)
    db.create_table(cls)
    cls._create_indexes()

dataset/ETHPy150Open coleifer/peewee/peewee.py Model.create_table/original