Answers for "run migration on laravel commnad"

PHP
1

laravel run query migration

DB::statement("
    CREATE TABLE `your_table` (
        `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
        `status` tinyint(3) unsigned DEFAULT NULL,
        PRIMARY KEY (`id`)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
");
Posted by: Guest on August-23-2021
1

create migration command in laravel

php artisan make:model Employee -m
Posted by: Guest on June-21-2021
0

Generate Laravel Migrations from an existing database

composer require --dev "xethron/migrations-generator"
Posted by: Guest on March-14-2021

Code answers related to "run migration on laravel commnad"

Browse Popular Code Answers by Language