Sha256: ce43ffaf738cbf608e28ebbec11762631b16dcdd14002d35f955678dd4b22d50

Contents?: true

Size: 304 Bytes

Versions: 127

Compression:

Stored size: 304 Bytes

Contents

class CreateRequestTypes < ActiveRecord::Migration
  def self.up
    create_table :request_types do |t|
      t.string :name, :null => false
      t.text :display_name
      t.text :note
      t.integer :position

      t.timestamps
    end
  end

  def self.down
    drop_table :request_types
  end
end

Version data entries

127 entries across 127 versions & 3 rubygems

Version Path
enju_leaf-1.2.0.beta.1 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.4 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.3 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.2 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.1 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc22 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc21 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc20 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc19 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc18 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc17 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc16 spec/dummy/db/migrate/131_create_request_types.rb
enju_circulation-0.1.0.pre41 spec/dummy/db/migrate/131_create_request_types.rb
enju_bookmark-0.1.2.pre20 spec/dummy/db/migrate/131_create_request_types.rb
enju_bookmark-0.1.2.pre19 spec/dummy/db/migrate/131_create_request_types.rb
enju_circulation-0.1.0.pre40 spec/dummy/db/migrate/131_create_request_types.rb
enju_bookmark-0.1.2.pre18 spec/dummy/db/migrate/131_create_request_types.rb
enju_leaf-1.1.0.rc15 spec/dummy/db/migrate/131_create_request_types.rb
enju_circulation-0.1.0.pre39 spec/dummy/db/migrate/131_create_request_types.rb