Sha256: bcc5d996360bc5a67b60b3a1aa1a93174b0e29264c601bde6c8ebddcdbed182a

Contents?: true

Size: 443 Bytes

Versions: 2

Compression:

Stored size: 443 Bytes

Contents

class CreateSelectionsSelections < ActiveRecord::Migration
  def change
    create_table :selections_selections do |t|
      t.string :name
      t.integer :parent_id
      t.string :system_code
      t.integer :position_value, :default => Selections::Selection::HIDDEN_POSITION
      t.boolean :is_default, :default => false
      t.boolean :is_system, :is_default => false
      t.datetime :archived_at

      t.timestamps
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
selections-0.0.1 db/migrate/20120114024459_create_selections_selections.rb
selections-0.0.1 spec/dummy/db/migrate/20120114125226_create_selections_selections.rb