socialforge/db/migrate/20160721075236_create_commi...

15 lines
293 B
Ruby
Raw Normal View History

class CreateCommits < ActiveRecord::Migration
def change
create_table :commits do |t|
t.integer :repository_id
t.string :version
t.string :committer
t.text :comments
2016-07-21 16:17:40 +08:00
t.datetime :committed_on
t.integer :project_id
t.timestamps
end
end
end