1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
5 class CreateRepositories < ActiveRecord::Migration[4.2]
7 create_table :repositories do |t|
8 t.string :uuid, :null => false
9 t.string :owner, :null => false
10 t.string :modified_by_client
11 t.string :modified_by_user
12 t.datetime :modified_at
19 add_index :repositories, :uuid, :unique => true
20 add_index :repositories, :name