module Backend::Db

Overview

Database model definitions

Extended Modules

Defined in:

backend/db.cr
backend/db/assignment.cr
backend/db/config.cr
backend/db/micrate_db_version.cr
backend/db/student.cr
backend/db/student_assignment.cr
backend/db/teacher.cr
backend/db/teacher_vote.cr
backend/db/token.cr
backend/db/user.cr
backend/db/vote.cr

Constant Summary

MIGRATIONS = {{ (run("./macros/migrations.cr", "db/migrations/*.sql")).stringify.split("\n") }}

Migration UIDs

Instance Method Summary

Instance Method Detail

def init(severity = {% if !(flag?(:release)) %} ::Log::Severity::Debug {% else %} ::Log::Severity::Info {% end %}) : Nil #

def schema_up_to_date? : Bool #