Add LONGTEXT type for MySQL
Disable foreign-key constraints
Update Doc model