Sha256: 738b37e4f602efa64ac63102370c5a5111d08cf116f35f7476d34155c0bdd527

Contents?: true

Size: 619 Bytes

Versions: 54

Compression:

Stored size: 619 Bytes

Contents

class CreateAgentImportFiles < ActiveRecord::Migration
  def change
    create_table :agent_import_files do |t|
      t.integer :parent_id
      t.string :content_type
      t.integer :size
      t.integer :user_id
      t.text :note
      t.datetime :executed_at
      t.string :state
      t.string :agent_import_file_name
      t.string :agent_import_content_type
      t.integer :agent_import_file_size
      t.datetime :agent_import_updated_at

      t.timestamps
    end
    add_index :agent_import_files, :parent_id
    add_index :agent_import_files, :user_id
    add_index :agent_import_files, :state
  end
end

Version data entries

54 entries across 54 versions & 13 rubygems

Version Path
enju_manifestation_viewer-0.1.0.pre16 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_manifestation_viewer-0.1.0.pre15 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_manifestation_viewer-0.1.0.pre14 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_ndl-0.1.0.pre32 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_flower-0.1.0.pre16 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_event-0.1.17.pre18 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_subject-0.1.0.pre25 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_trunk_subject-1.0.4 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_event-0.1.17.pre17 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_flower-0.1.0.pre15 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_nii-0.1.0.pre10 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_inter_library_loan-0.1.0.pre9 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_manifestation_viewer-0.1.0.pre13 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_resource_merge-0.1.0.pre10 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_oai-0.1.0.pre13 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_bookmark-0.1.2.pre14 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_question-0.1.0.pre11 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_ndl-0.1.0.pre31 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_subject-0.1.0.pre24 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb
enju_event-0.1.17.pre16 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb