Silly read only databases...

This commit is contained in:
2026-07-27 18:32:56 -06:00
parent 2a4e1c5026
commit 0172c86958
10 changed files with 95 additions and 2 deletions
+3
View File
@@ -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
View File
@@ -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".
+4
View File
@@ -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
+1
View File
@@ -11,4 +11,5 @@ Rails.application.routes.draw do
# Defines the root path route ("/")
# root "posts#index"
root "joints#index"
end