Hello guys , does some one there have deployed your website on go Daddy ?
I have just deployed a website , I migrated the database , it is working fine . but it is not deleting on cascade . I don´t know if I have to make some configuration . In my localhost it is deleting on cascade , but on go daddy don`t . I am using MySQL DB .
I have a gallery files , and those files must be deleted if the gallery is deleted . I migrated like this -
public function up()
{
$table->integer('gallery_file_id')->unsigned();
$table->foreign('gallery_file_id')->references('id')->on('file_gallery')->onDelete('cascade');
}
public function down()
{
.....
}
the code is not wrong becose it is working on localhost , I migrated in godaddy via composer , and it didn´t gave any errors . but if I delete the gallery is not deleting the gallery files , and should be deleted on cascade .
Does some one know if I have to do some configuration on go Daddy ?
I am using this version of DB -
- Mysql Version - 14.14 ( Go Daddy )
*in my Localhost - 15.1 ( Localhost )
Thanks