Hi Okan,
See https://docs.moodle.org/311/en/Course_settings#Course_custom_fields as a better alternative to changing the DB schema
See https://docs.moodle.org/311/en/Course_settings#Course_custom_fields as a better alternative to changing the DB schema