Add structured errors to schema

This commit is contained in:
Maximilian Grundke
2017-07-03 10:09:48 +02:00
parent 6c353d611d
commit d2a089d057
17 changed files with 144 additions and 1 deletions

View File

@ -0,0 +1,11 @@
class CreateStructuredErrorAttributes < ActiveRecord::Migration
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