socialforge/db/migrate/20140609061903_add_user_id_...

6 lines
134 B
Ruby

class AddUserIdToDocuments < ActiveRecord::Migration
def change
add_column :documents, :user_id, :integer, default: 0
end
end