1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class CreateCommits < ActiveRecord::Migration[4.2]
7 create_table :commits do |t|
8 t.string :repository_name
14 add_index :commits, [:repository_name, :sha1], :unique => true