diff --git a/db/migrate/20180515110030_remove_file_id_from_structured_errors.rb b/db/migrate/20180515110030_remove_file_id_from_structured_errors.rb new file mode 100644 index 00000000..d5465ccd --- /dev/null +++ b/db/migrate/20180515110030_remove_file_id_from_structured_errors.rb @@ -0,0 +1,5 @@ +class RemoveFileIdFromStructuredErrors < ActiveRecord::Migration + def change + remove_column :structured_errors, :file_id + end +end diff --git a/db/schema.rb b/db/schema.rb index 55339422..73a2c228 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20180226131340) do +ActiveRecord::Schema.define(version: 20180515110030) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -325,7 +325,6 @@ ActiveRecord::Schema.define(version: 20180226131340) do create_table "structured_errors", force: :cascade do |t| t.integer "error_template_id" - t.integer "file_id" t.datetime "created_at", null: false t.datetime "updated_at", null: false t.integer "submission_id"