created template selecting

This commit is contained in:
Senad Uka
2016-02-21 11:59:13 +01:00
parent 7af44a6245
commit 709ce3e38c
46 changed files with 584 additions and 20 deletions

View File

@@ -0,0 +1,11 @@
class CreateFileVersions < ActiveRecord::Migration
def change
create_table :file_versions do |t|
t.integer :number, null: false, default: 1
t.boolean :pulled, null: false, default: false
t.integer :configuration_file_id, null: false
t.binary :content, :limit => 10.megabyte
t.timestamps null: false
end
end
end