Sha256: 30b076adba9177b9bafc92f17cfe4525b253fa9cf273abf3e0e4e1a97dc760ee
Contents?: true
Size: 442 Bytes
Versions: 10
Compression:
Stored size: 442 Bytes
Contents
class CreateImportData < ActiveRecord::Migration def change create_table :import_data do |t| t.integer :importable_id t.string :importable_type t.string :data_type t.string :status, :null => false, :default=>"pending", :limit=>16 t.timestamps end add_index(:import_data, [ :importable_id, :importable_type ]) add_index(:import_data, :data_type ) add_index(:import_data, :status ) end end
Version data entries
10 entries across 10 versions & 1 rubygems