Fixes some bugs in migrations
Solving conflicts
Removed .ruby-version file
Update schema to set every material as non draft