diff options
Diffstat (limited to 'db/migrate/20150730122707_create_imports.rb')
-rw-r--r-- | db/migrate/20150730122707_create_imports.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20150730122707_create_imports.rb b/db/migrate/20150730122707_create_imports.rb new file mode 100644 index 000000000..8b58d06c8 --- /dev/null +++ b/db/migrate/20150730122707_create_imports.rb @@ -0,0 +1,13 @@ +class CreateImports < ActiveRecord::Migration + def change + create_table :imports do |t| + t.string :type + t.integer :user_id, :null => false + t.string :filename + t.text :settings + t.integer :total_items + t.boolean :finished, :null => false, :default => false + t.timestamps + end + end +end |