debian-mirror-gitlab/db/migrate/20230224130315_add_constraint_type_to_postgres_async_constraint_validation.rb
2023-05-27 22:25:52 +05:30

8 lines
266 B
Ruby

# frozen_string_literal: true
class AddConstraintTypeToPostgresAsyncConstraintValidation < Gitlab::Database::Migration[2.1]
def change
add_column :postgres_async_foreign_key_validations, :constraint_type, :integer, null: false, default: 0, limit: 2
end
end