Schema::table('tbl_logs_login_devices', function(Blueprint $table) {
            $table->foreign('user_id', 'tbl_logs_login_devices_fk1')->references('id')->on('tbl_users')->onUpdate('NO ACTION')->onDelete('CASCADE');
            $table->foreign('log_id', 'tbl_logs_login_devices_fk2')->references('id')->on('tbl_logs')->onUpdate('NO ACTION')->onDelete('SET NULL');
        });