@@ -1,13 +1,13 | |||||
1 | class CreateImports < ActiveRecord::Migration |
|
1 | class CreateImports < ActiveRecord::Migration | |
2 | def change |
|
2 | def change | |
3 | create_table :imports do |t| |
|
3 | create_table :imports do |t| | |
4 | t.string :type |
|
4 | t.string :type | |
5 | t.integer :user_id, :null => false |
|
5 | t.integer :user_id, :null => false | |
6 | t.string :filename |
|
6 | t.string :filename | |
7 | t.text :settings |
|
7 | t.text :settings | |
8 | t.integer :total_items |
|
8 | t.integer :total_items | |
9 | t.boolean :finished, :null => false, :default => false |
|
9 | t.boolean :finished, :null => false, :default => false | |
10 | t.timestamps |
|
10 | t.timestamps :null => false | |
11 | end |
|
11 | end | |
12 | end |
|
12 | end | |
13 | end |
|
13 | end |
General Comments 0
You need to be logged in to leave comments.
Login now