Scaffold file templates
This commit is contained in:
10
db/migrate/20160609185708_create_file_templates.rb
Normal file
10
db/migrate/20160609185708_create_file_templates.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
Reference in New Issue
Block a user