summaryrefslogtreecommitdiff
path: root/db/post_migrate/20220627223041_add_post_migrate_test_table.rb
blob: 8d97444f8c1a268db9c0b7f77b403f4b6e618498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddPostMigrateTestTable < Gitlab::Database::Migration[2.0]
  # Fake table to be used for testing the post-deploy pipeline,
  # details can be seen on https://gitlab.com/gitlab-com/gl-infra/delivery/-/issues/2352.
  #
  # It should be deleted after the testing is completed.
  def change
    create_table :post_migration_test_table do |t|
      t.integer :status, null: false
    end
  end
end