Don't allow null values for the type column in mooc_blocks. Otherwise, values derived from the concrete model classes won't be set automatically.