Answers for "laravel run migrations on existing"

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
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 "laravel run migrations on existing"

Browse Popular Code Answers by Language