diff options
Diffstat (limited to 'src/models/base_model.cr')
-rw-r--r-- | src/models/base_model.cr | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/models/base_model.cr b/src/models/base_model.cr new file mode 100644 index 0000000..6bafeb8 --- /dev/null +++ b/src/models/base_model.cr @@ -0,0 +1,5 @@ +abstract class BaseModel < Avram::Model + def self.database : Avram::Database.class + AppDatabase + end +end |