Class: CreateRepositories

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/shipit/database/migrate/20120630164223_create_repositories.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
# File 'lib/shipit/database/migrate/20120630164223_create_repositories.rb', line 2

def change
  create_table :repositories do |t|
    t.string :name
    t.string :uri

    t.timestamps
  end
end