Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220627122229_create_user_namespace_callouts.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fc85c02d2dbffc945a0b5662563debb6c5f54b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

class CreateUserNamespaceCallouts < Gitlab::Database::Migration[2.0]
  def up
    create_table :user_namespace_callouts do |t|
      t.bigint :user_id, null: false
      t.bigint :namespace_id, null: false, index: true
      t.datetime_with_timezone :dismissed_at
      t.integer :feature_name, limit: 2, null: false
    end
  end

  def down
    drop_table :user_namespace_callouts
  end
end