gitlabhq/db/migrate/20110915213352_create_keys.rb

10 lines
205 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +02:00
class CreateKeys < ActiveRecord::Migration
def change
create_table :keys do |t|
t.integer :user_id, :null => false
t.text :project_id, :null => false
t.timestamps
end
end
end