diff --git a/Gemfile b/Gemfile index 98c0adc0..5d51c5dc 100644 --- a/Gemfile +++ b/Gemfile @@ -68,8 +68,8 @@ gem 'rugged' gem 'sucker_punch' gem 'terminal-table' gem 'validates_hostname' -gem 'yaml_db', git: 'https://0xacab.org/sutty/yaml_db.git' gem 'webpacker' +gem 'yaml_db', git: 'https://0xacab.org/sutty/yaml_db.git' group :development, :test do gem 'pry' diff --git a/bin/migrate_database b/bin/migrate_database index 62dc8462..25b013f5 100755 --- a/bin/migrate_database +++ b/bin/migrate_database @@ -13,6 +13,6 @@ bundle exec rake db:schema:load rm db/data/ar_internal_metadata.yml mv db/data/active_storage_attachments.yml db/data/zz_active_storage_attachments.yml -bundle exec rake db:load dir=data truncate=false +bundle exec rake db:data:load_dir dir=data truncate=false mv data/production.sqlite3 data/production.sqlite3.migrated