Remove file_id from structured_errors

This commit is contained in:
Maximilian Grundke
2018-05-15 13:03:36 +02:00
parent 5a2394f1b9
commit 7a6e73db20
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,5 @@
class RemoveFileIdFromStructuredErrors < ActiveRecord::Migration
def change
remove_column :structured_errors, :file_id
end
end

View File

@ -11,7 +11,7 @@
# #
# It's strongly recommended that you check this file into your version control system. # 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 # These are extensions that must be enabled in order to support this database
enable_extension "plpgsql" enable_extension "plpgsql"
@ -325,7 +325,6 @@ ActiveRecord::Schema.define(version: 20180226131340) do
create_table "structured_errors", force: :cascade do |t| create_table "structured_errors", force: :cascade do |t|
t.integer "error_template_id" t.integer "error_template_id"
t.integer "file_id"
t.datetime "created_at", null: false t.datetime "created_at", null: false
t.datetime "updated_at", null: false t.datetime "updated_at", null: false
t.integer "submission_id" t.integer "submission_id"