filmov
tv
How to use UUID as Primary key instead of auto-increment IDs in Laravel application?

Показать описание
What is UUID? UUIDs stands for Universally Unique Identifiers, used to uniquely identify the table records. In this, you will learn how to replace Primary key auto-increment IDs with UUIDs. And you will also learn the advantages and disadvantages of using UUIDs in your database.
#Laravel #UUIDs
⌚ Timestamps:
00:00 Introduction
00:59 Create Fresh Laravel APP
02:13 Create Post Model & Migration
03:39 Remove auto-increment IDs
05:39 Add UUID as Primary key
07:41 Auto-generate UUID when creating a post
11:57 Advantages and disadvantages of using UUIDs
▶ Laravel Tips and Tricks
▶ Laravel Model Lifecycle Events and How to use Observers in Laravel?
▶ #1: SPA Authentication using Laravel Sanctum
▶ #2: API Token Authentication using Laravel Sanctum
▶ Laravel Eloquent Relationships
▶ Impersonating Users in Laravel And Example of TDD using PHPUnit
▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin?
▶ Laravel Packages
▶ Laravel Backup Tutorial
▶ Laravel Fortify Tutorial
▶ Laravel Passport Tutorials
▶ Setup Web Development Environment Ubuntu
Support my work:
𝐃𝐢𝐠𝐢𝐭𝐚𝐥𝐎𝐜𝐞𝐚𝐧 𝐑𝐞𝐟𝐞𝐫𝐫𝐚𝐥
Also, follow us on:
#Laravel #UUIDs
⌚ Timestamps:
00:00 Introduction
00:59 Create Fresh Laravel APP
02:13 Create Post Model & Migration
03:39 Remove auto-increment IDs
05:39 Add UUID as Primary key
07:41 Auto-generate UUID when creating a post
11:57 Advantages and disadvantages of using UUIDs
▶ Laravel Tips and Tricks
▶ Laravel Model Lifecycle Events and How to use Observers in Laravel?
▶ #1: SPA Authentication using Laravel Sanctum
▶ #2: API Token Authentication using Laravel Sanctum
▶ Laravel Eloquent Relationships
▶ Impersonating Users in Laravel And Example of TDD using PHPUnit
▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin?
▶ Laravel Packages
▶ Laravel Backup Tutorial
▶ Laravel Fortify Tutorial
▶ Laravel Passport Tutorials
▶ Setup Web Development Environment Ubuntu
Support my work:
𝐃𝐢𝐠𝐢𝐭𝐚𝐥𝐎𝐜𝐞𝐚𝐧 𝐑𝐞𝐟𝐞𝐫𝐫𝐚𝐥
Also, follow us on:
Комментарии