Sha256: ae9a8b290e3daa822239ef8c586923fdc196988dda23cac27cd61c76a948abf1

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

class CreateGemgentoImports < ActiveRecord::Migration
  def change
    create_table :gemgento_imports do |t|
      t.string :type
      t.attachment :file
      t.integer :total_rows, null: false, default: 0
      t.integer :current_row, null: false, default: 0
      t.text :options
      t.integer :state, null: false, default: 0
      t.text :process_errors

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 db/migrate/20160217142910_create_gemgento_imports.rb