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