Sha256: 83f928d831e4a2d73f192eb30945f897078e63041d381994c7e995da6ebd1512

Contents?: true

Size: 459 Bytes

Versions: 18

Compression:

Stored size: 459 Bytes

Contents

class MoveTabsColumnFromHistoricalJobsToRunningJobs < ActiveRecord::Migration
  def up
    execute <<-SQL
      ALTER TABLE #{Naf.schema_name}.historical_jobs DROP COLUMN tags;
      ALTER TABLE #{Naf.schema_name}.running_jobs ADD COLUMN tags text[];
    SQL
  end

  def down
    execute <<-SQL
      ALTER TABLE #{Naf.schema_name}.historical_jobs ADD COLUMN tags text[];
      ALTER TABLE #{Naf.schema_name}.running_jobs DROP COLUMN tags;
    SQL
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
naf-2.1.13 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.12 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.11 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.10 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.9 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.8 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.6 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.5 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.4 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.3 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.2 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.1 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.1.0 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.0.4 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.0.3 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.0.2 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.0.1 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb
naf-2.0.0 db/migrate/20131121185222_move_tabs_column_from_historical_jobs_to_running_jobs.rb