class AddCommonIdToTables < ActiveRecord::Migration
  def change
    add_column :users, :common_id, :bigint, unique: true, foreign_key: false
    add_column :rewards, :common_id, :bigint, unique: true, foreign_key: false
    add_column :projects, :common_id, :bigint, unique: true, foreign_key: false
  end
end

Add common_id to user, rewards and projects
Add common_id to user, rewards and projects
