Sha256: a84c7a72b45473d26768060050901f1690966bee0610d1ccf81d5e047ca0147f

Contents?: true

Size: 628 Bytes

Versions: 6

Compression:

Stored size: 628 Bytes

Contents

class CreatePatronImportFiles < ActiveRecord::Migration
  def change
    create_table :patron_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 :patron_import_file_name
      t.string :patron_import_content_type
      t.integer :patron_import_file_size
      t.datetime :patron_import_updated_at

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 db/migrate/20081028083142_create_patron_import_files.rb
enju_biblio-0.1.0.pre41 db/migrate/20081028083142_create_patron_import_files.rb
enju_biblio-0.1.0.pre40 db/migrate/20081028083142_create_patron_import_files.rb
enju_biblio-0.1.0.pre39 db/migrate/20081028083142_create_patron_import_files.rb
enju_biblio-0.1.0.pre38 db/migrate/20081028083142_create_patron_import_files.rb
enju_biblio-0.1.0.pre37 db/migrate/20081028083142_create_patron_import_files.rb