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  TypeScript code snippet - How to define relationship between two objects in salesfoce?

Leave a Reply

Your email address will not be published. Required fields are marked *

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