...
Code Block |
---|
bundle exec rake db:migrate
# Backup your minter state file (default location is /tmp/minter-state)
# If you do not have a minter state file then you do not need to do anything else
cp /tmp/minter-state /tmp/minter-state.bak
bundle exec rake active_fedora:noid:migrate:yaml_to_marshal
bundle exec rake active_fedora:noid:file_to_database
# Remove the minter state file
rm /tmp/minter-state
# Check everything worked correctly
# If the following command runs without any output it was successful
bundle exec rails r "MediaObject.new.assign_id" |
...