trustieforge/db/migrate/20140714021812_add_is_publi...

6 lines
140 B
Ruby

class AddIsPublicToDocuments < ActiveRecord::Migration
def change
add_column :documents, :is_public, :integer,:default => 1
end
end