Sha256: cfe702621f1e1ce1379d820f671a91bb90671c71006b1adf43f9e2013da3d4b8

Contents?: true

Size: 745 Bytes

Versions: 10

Compression:

Stored size: 745 Bytes

Contents

class CreateEventImportFiles < ActiveRecord::Migration
  def self.up
    create_table :event_import_files do |t|
      t.integer :parent_id
      t.string :content_type
      t.integer :size
      t.integer :user_id
      t.text :note
      t.datetime :imported_at
      t.string :state
      t.string :event_import_file_name
      t.string :event_import_content_type
      t.integer :event_import_file_size
      t.datetime :event_import_updated_at
      t.string :edit_mode
      t.string :event_import_fingerprint

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

  def self.down
    drop_table :event_import_files
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
enju_event-0.1.4 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.1.3 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.15 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.14 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.13 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.12 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.11 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.1.2 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.0.10 db/migrate/20081028093607_create_event_import_files.rb
enju_event-0.1.1 db/migrate/20081028093607_create_event_import_files.rb