bigdir/db/migrate/20140604071623_add_is_publi...

7 lines
202 B
Ruby

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