gitlab-org--gitlab-foss/db/migrate/20220627122229_create_user_namespace_callouts.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
424 B
Ruby
Raw Normal View History

# 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