blob: 924d81abc23f31dbe18482d2031750597ee6587d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: false
class CreateImports < ActiveRecord::Migration[4.2]
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 :null => false
end
end
end
|