098f7fe0f9
Since the application does not use a database, it's confusing to have to set a bogus database URL environment variable. This change follows [the Lucky guide][1] suggestion for disabling the need for database configuration. That makes the setup a little easier. [1]: https://www.luckyframework.org/guides/database/intro-to-avram-and-orms
10 lines
201 B
Crystal
10 lines
201 B
Crystal
class UnusedDB < Avram::Database
|
|
end
|
|
|
|
UnusedDB.configure do |settings|
|
|
settings.credentials = Avram::Credentials.void
|
|
end
|
|
|
|
Avram.configure do |settings|
|
|
settings.database_to_migrate = UnusedDB
|
|
end
|