Sha256: 34f15f690347a40ec822e46c99afed3b449786d72a6fb9751acaebc2a23a0f2f

Contents?: true

Size: 356 Bytes

Versions: 2

Compression:

Stored size: 356 Bytes

Contents

class CreateGlDateConfigurations < ActiveRecord::Migration
  def up
    create_table :gl_date_configurations do |t|
      t.string :context
      t.string :condition
      t.string :result
      t.timestamps
    end

    add_index :gl_date_configurations, :context, :name => "context_idx"
  end

  def down
    drop_table :gl_date_configurations
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
apl-library-0.0.90 db/migrate/20140410060919_create_gl_date_configurations.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/db/migrate/20140410060919_create_gl_date_configurations.rb