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