Sha256: ff2d8e51bd90c03714543bbec5575b3cebf1c0c01b880f773b75d56a050ae931

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

class <%= migration_class_name %> < GroongaClientModel::Migration
  def up
    set_config "<%= @config_key %>", "<%= @config_value %>"
  end

  def down
    # set_config "<%= @config_key %>", "old value"
    # delete_config "<%= @config_key %>"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groonga-client-model-6.0.1 lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb
groonga-client-model-6.0.0 lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb
groonga-client-model-1.0.2 lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb
groonga-client-model-1.0.1 lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb