Scaffold file templates

This commit is contained in:
Maximilian Grundke
2016-06-09 22:38:19 +02:00
parent 8158d60d30
commit 1cd879bcb6
16 changed files with 183 additions and 1 deletions

View 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