You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20150730122707_create_imports.rb 349B

12345678910111213
  1. class CreateImports < ActiveRecord::Migration[4.2]
  2. def change
  3. create_table :imports do |t|
  4. t.string :type
  5. t.integer :user_id, :null => false
  6. t.string :filename
  7. t.text :settings
  8. t.integer :total_items
  9. t.boolean :finished, :null => false, :default => false
  10. t.timestamps :null => false
  11. end
  12. end
  13. end