Sha256: ab4ebfe3c8d37c4a737de176200d993efbb3790d27a57bd8d8808324e0aea6ea

Contents?: true

Size: 584 Bytes

Versions: 169

Compression:

Stored size: 584 Bytes

Contents

class CreateResourceImportFiles < ActiveRecord::Migration[4.2]
  def change
    create_table :resource_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 :resource_import_file_name
      t.string :resource_import_content_type
      t.integer :resource_import_file_size
      t.datetime :resource_import_updated_at

      t.timestamps
    end
    add_index :resource_import_files, :parent_id
    add_index :resource_import_files, :user_id
  end
end

Version data entries

169 entries across 169 versions & 21 rubygems

Version Path
enju_bookmark-0.3.0.beta.1 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_subject-0.3.0.beta.1 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_message-0.3.0.beta.1 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_leaf-1.3.0.beta.2 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_manifestation_viewer-0.3.0.beta.2 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_manifestation_viewer-0.3.0.beta.1 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_library-0.3.0.beta.2 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_seed-0.3.0.beta.6 spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb
enju_biblio-0.3.0.beta.2 db/migrate/20081028083208_create_resource_import_files.rb