socialforge/db/migrate/20140604071623_add_is_publi...

7 lines
202 B
Ruby
Raw Normal View History

class AddIsPublicToCourses < ActiveRecord::Migration
def change
add_column :courses, :is_public, :tinyint,:default => 1
add_column :courses, :inherit_members, :tinyint,:default => 1
end
end