[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.137.177.204: ~ $
from __future__ import annotations

import datetime as dt
from typing import Final

import peewee as pw


class MigrateHistory(pw.Model):
    """Presents the migrations in database."""

    id = pw.AutoField()  # noqa:
    name = pw.CharField()
    migrated_at = pw.DateTimeField(default=dt.datetime.utcnow)

    def __unicode__(self) -> str:
        """String representation."""
        return self.name  # type: ignore[]


MIGRATE_TABLE: Final = "migratehistory"

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 146 B 0644
__main__.py File 78 B 0644
auto.py File 11.71 KB 0644
cli.py File 6.44 KB 0644
logs.py File 146 B 0644
migrator.py File 15.36 KB 0644
models.py File 465 B 0644
py.typed File 0 B 0644
router.py File 11.91 KB 0644
template.py File 1.64 KB 0644
types.py File 255 B 0644