How to run SQL in a Laravel Migration

I need to run SQL to modify some tables in Laravel when they are created in a migration, I tried something like this but it’s not correct, does anyone know how to do it? public function up() { Schema::create(‘appointments’, function (Blueprint $table) { $table->increments(‘id’); $table->date(‘date’); $table->timestamps(); }); DB::statement(“SET GLOBAL event_scheduler = ON;”); }

Details

An error ocurred when installing tensorflow

When I desire to install tensorflow by use the command “pip3 install –upgrade tensorflow”, then an error occurred : ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: ‘C:\\Users\\User\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python37\\site-packages\\tensorflow_estimator\\python\\estimator\\canned\\linear_optimizer\\python\\utils\\__pycache__\\sharded_mutable_dense_hashtable.cpython-37.pyc’ How to solve this problem? please!

Details