Sha256: 51acfb794e2cdffc84b5cc213207da381031f1aab03ecc1f2857ec681a258dd6

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

class CreateSettings < ActiveRecord::Migration
  def self.up
    create_table(:settings, :id => false) do |t|
      t.string :name, :primary => true
      t.text   :value

      t.timestamps null: false
    end
  end

  def self.down
    drop_table :settings
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rflow-1.3.2 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.3.1 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.3.0 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.3.0a1 lib/rflow/configuration/migrations/20010101000000_create_settings.rb