1 class CreateRepositories < ActiveRecord::Migration
3 create_table :repositories do |t|
4 t.string :uuid, :null => false
5 t.string :owner, :null => false
6 t.string :modified_by_client
7 t.string :modified_by_user
8 t.datetime :modified_at
15 add_index :repositories, :uuid, :unique => true
16 add_index :repositories, :name