Add structured errors to schema
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
class CreateErrorTemplateAttributes < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :error_template_attributes do |t|
|
||||
t.belongs_to :error_template
|
||||
t.string :key
|
||||
t.string :regex
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user