Added NOT NULL to cloud_file foreign key field