Files
codeocean/db/migrate/20160609185708_create_file_templates.rb
Maximilian Grundke 1cd879bcb6 Scaffold file templates
2016-06-09 22:38:19 +02:00

11 lines
215 B
Ruby

class CreateFileTemplates < ActiveRecord::Migration
def change
create_table :file_templates do |t|
t.string :name
t.text :content
t.belongs_to :file_type
t.timestamps
end
end
end