socialforge/db/migrate/20160721075236_create_commi...

15 lines
293 B
Ruby

class CreateCommits < ActiveRecord::Migration
def change
create_table :commits do |t|
t.integer :repository_id
t.string :version
t.string :committer
t.text :comments
t.datetime :committed_on
t.integer :project_id
t.timestamps
end
end
end