Sha256: 0f0d547897b857515aafec96faf7bd4920365d9a4e4b3e39cf73b618a4863235

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

class CreateAgentImportFiles < ActiveRecord::Migration[5.1]
  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 :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
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb