lib/lotus/generators/application/container/lib/app_name.rb.tt in lotusrb-0.2.1 vs lib/lotus/generators/application/container/lib/app_name.rb.tt in lotusrb-0.3.0

- old
+ new

@@ -8,17 +8,19 @@ # # * Memory adapter # adapter type: :memory, uri: 'memory://localhost/<%= config[:app_name] %>_development' # # * SQL adapter - # adapter type: :sql, uri: 'sqlite://db/<%= config[:app_name] %>_development.db' + # adapter type: :sql, uri: 'sqlite://db/<%= config[:app_name] %>_development.sqlite3' # adapter type: :sql, uri: 'postgres://localhost/<%= config[:app_name] %>_development' # adapter type: :sql, uri: 'mysql://localhost/<%= config[:app_name] %>_development' # - adapter type: :file_system, uri: ENV['<%= config[:app_name].to_env_s %>_DATABASE_URL'] + adapter type: :<%= config[:database_config][:type] %>, uri: ENV['<%= config[:app_name].to_env_s %>_DATABASE_URL'] ## # Database mapping + # + # Intended for specifying application wide mappings. # # You can specify mapping file to load with: # # mapping "#{__dir__}/config/mapping" #