summaryrefslogtreecommitdiff
path: root/db/migrate/20211011141239_create_projects_sync_events.rb
blob: 50fe988ac1b9008ea65d2c2179345ccdf2e24a96 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class CreateProjectsSyncEvents < Gitlab::Database::Migration[1.0]
  def change
    create_table :projects_sync_events do |t|
      t.references :project, null: false, index: true, foreign_key: { on_delete: :cascade }
    end
  end
end