Sha256: ccd72f6e8d62021281d1f4375a0dccdeada1d968eeda6b2d39fbf1f4668c015d

Contents?: true

Size: 421 Bytes

Versions: 14

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

# Adding Rename ACD db tables
class RenameAcdTables < ActiveRecord::Migration[6.0]
  def up
    rename_table :app_definitions, :acd_app_definitions
    rename_table :app_instances, :acd_app_instances
    rename_table :foreman_hosts, :acd_foreman_hosts
  end

  def down
    rename_table :acd_app_definitions
    rename_table :acd_app_instances
    rename_table :acd_foreman_hosts
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
foreman_acd-0.11.0 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.10.0 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.7 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.5 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.4 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.3 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.2.3 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.2.2 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.2.1 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.2 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.1 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.9.0 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.7.0 db/migrate/20210209091014_rename_acd_tables.rb
foreman_acd-0.6.0 db/migrate/20210209091014_rename_acd_tables.rb