Sha256: e3d504ae986ae7a760f74aed7b4061cb2abd263f3c6db24d7152793364b74535

Contents?: true

Size: 257 Bytes

Versions: 10

Compression:

Stored size: 257 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
    end
  end

  def self.down
    drop_table :settings
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rflow-1.2.0 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.1.0 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.1 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a6 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a5 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a4 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a3 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a2 lib/rflow/configuration/migrations/20010101000000_create_settings.rb
rflow-1.0.0a1 lib/rflow/configuration/migrations/20010101000000_create_settings.rb