Sha256: ce949f9e31cd5664dea1619492514574a9027c8022db175242487620410ac68d

Contents?: true

Size: 329 Bytes

Versions: 12

Compression:

Stored size: 329 Bytes

Contents

class CreateSelections < ActiveRecord::Migration
  def change
    create_table :selections do |t|
      t.string :name
      t.integer :parent_id
      t.string :system_code
      t.integer :position_value
      t.boolean :is_default
      t.boolean :is_system
      t.datetime :archived_at

      t.timestamps
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
selections-1.1.1 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.5 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.4 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.1.0 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.3 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.2 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.1 lib/generators/selections_scaffold/templates/create_selections.rb
selections-1.0.0 lib/generators/selections_scaffold/templates/create_selections.rb
selections-0.2.2 lib/generators/selections_scaffold/templates/create_selections.rb
selections-0.2.1 lib/generators/selections_scaffold/templates/create_selections.rb
selections-0.1.14 lib/generators/selections_scaffold/templates/create_selections.rb
selections-0.1.13 lib/generators/selections_scaffold/templates/create_selections.rb