Modify the Assets and Licenses controllers and database schemas to work

MySQL strict strikes again!