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