14 lines
320 B
Ruby
14 lines
320 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateStructuredErrorAttributes < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :structured_error_attributes do |t|
|
|
t.belongs_to :structured_error
|
|
t.references :error_template_attribute
|
|
t.string :value
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|