Class: CreateEnvironments

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

Instance Method Summary collapse

Instance Method Details

#changeObject



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

def change
  create_table :environments do |t|
    t.string :repository_id
    t.string :name

    t.timestamps
  end
end