debian-mirror-gitlab/db/migrate/20211011141239_create_projects_sync_events.rb

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

10 lines
266 B
Ruby
Raw Normal View History

2022-01-26 12:08:38 +05:30
# 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