class CreateValidationErrorsTable < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :validation_errors do |t| t.string :invalid_model_name, index: true t.bigint :invalid_model_id t.string :action, index: true t.json :details t.timestamps null: false end end end