Silly read only databases...
This commit is contained in:
@@ -23,5 +23,8 @@ module Site
|
||||
#
|
||||
# config.time_zone = "Central Time (US & Canada)"
|
||||
# config.eager_load_paths << Rails.root.join("extras")
|
||||
|
||||
# Disable activerecord performing migrations.
|
||||
config.active_record.migration_error = false
|
||||
end
|
||||
end
|
||||
|
||||
+6
-2
@@ -10,8 +10,12 @@ default: &default
|
||||
timeout: 5000
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
database: storage/development.sqlite3
|
||||
adapter: sqlite3
|
||||
#database: "file:db/anat_proj.db?mode=ro"
|
||||
database: "db/anat_proj.db"
|
||||
#readonly: true
|
||||
pool: 5
|
||||
timeout: 5000
|
||||
|
||||
# Warning: The database defined as "test" will be erased and
|
||||
# re-generated from your development database when you run "rake".
|
||||
|
||||
@@ -75,4 +75,8 @@ Rails.application.configure do
|
||||
|
||||
# Apply autocorrection by RuboCop to files generated by `bin/rails generate`.
|
||||
# config.generators.apply_rubocop_autocorrect_after_generate!
|
||||
|
||||
config.active_record.migration_error = false
|
||||
config.log_level = :debug
|
||||
#config.active_record,verbose_query_logs = true
|
||||
end
|
||||
|
||||
@@ -11,4 +11,5 @@ Rails.application.routes.draw do
|
||||
|
||||
# Defines the root path route ("/")
|
||||
# root "posts#index"
|
||||
root "joints#index"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user