Files
codeocean/db/migrate/20170703075959_create_error_template_attributes.rb

12 lines
258 B
Ruby

class CreateErrorTemplateAttributes < ActiveRecord::Migration[4.2]
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