Sha256: 9877bd29946fc2a90049d8974b555deaecb01055d79e4f88dfb85d451bed2fa2

Contents?: true

Size: 388 Bytes

Versions: 10

Compression:

Stored size: 388 Bytes

Contents

class CreateImporters < ActiveRecord::Migration
  def change
    create_table :importers do |t|
      t.attachment :attachment
      t.attachment :attachment_error
      t.string :source
      t.string :parser
      t.string :columns
      t.string :message
      t.string :status, default: 'pending'
      t.references :importable, polymorphic: true
      t.timestamps
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
csv_import_magic-0.0.11 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.10 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.8 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.7 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.6 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.5 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.4 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.3 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.2 db/migrate/20170111145657_create_importers.rb
csv_import_magic-0.0.1 db/migrate/20170111145657_create_importers.rb