Skip to content

PHP code snippet – How to set db table type in laravel?

Schema::create('users', function (Blueprint $table) {
    $table->engine = 'InnoDB';

    // ...
});
See also  Java code snippet - How to declare an array list of a clas?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.