class CreateSettings

Public Class Methods

down() click to toggle source
# File lib/rflow/configuration/migrations/20010101000000_create_settings.rb, line 11
def self.down
  drop_table :settings
end
up() click to toggle source
# File lib/rflow/configuration/migrations/20010101000000_create_settings.rb, line 2
def self.up
  create_table(:settings, :id => false) do |t|
    t.string :name, :primary => true
    t.text   :value

    t.timestamps null: false
  end
end