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 https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWjBb6io51X0a3Apdf8Bm3z ▶ Laravel Model Lifecycle Events and How to use Observers in Laravel? https://www.youtube.com/watch?v=7GUaH6BI_V0 ▶ #1: SPA Authentication using Laravel Sanctum https://www.youtube.com/watch?v=8Uwn5M6WTe0 ▶ #2: API Token Authentication using Laravel Sanctum https://www.youtube.com/watch?v=2bslfjKEAik ▶ Laravel Eloquent Relationships https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVyIT0cDX-54gN5tunWZvaI ▶ Impersonating Users in Laravel And Example of TDD using PHPUnit https://www.youtube.com/watch?v=rT2zbACgysM ▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin? https://www.youtube.com/watch?v=cqm72704ZCE ▶ Laravel Packages https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVvcFXGEiw9pke7AuyrjdXv ▶ Laravel Backup Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWIMDkTK4f_oL0rQR5UV0O1 ▶ Laravel Fortify Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbU2BrO6ubfXio3OG4t6Oqpz ▶ Laravel Passport Tutorials https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWqLEiPjsmuoTJNLKbcsYce ▶ Setup Web Development Environment Ubuntu https://www.youtube.com/playlist?list=PL1TrjkMQ8UbUsk2YD-gJ_OfJWi_pIJ5BV Support my work: 1. On BuyMeACoffee: https://www.buymeacoffee.com/qirolab 2. On Patreon: https://www.patreon.com/qirolab ???????????? ???????? https://m.do.co/c/e740238537d0 Also, follow us on: ????????: https://fb.com/qirolab ???????: https://twitter.com/qirolab
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 https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWjBb6io51X0a3Apdf8Bm3z ▶ Laravel Model Lifecycle Events and How to use Observers in Laravel? https://www.youtube.com/watch?v=7GUaH6BI_V0 ▶ #1: SPA Authentication using Laravel Sanctum https://www.youtube.com/watch?v=8Uwn5M6WTe0 ▶ #2: API Token Authentication using Laravel Sanctum https://www.youtube.com/watch?v=2bslfjKEAik ▶ Laravel Eloquent Relationships https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVyIT0cDX-54gN5tunWZvaI ▶ Impersonating Users in Laravel And Example of TDD using PHPUnit https://www.youtube.com/watch?v=rT2zbACgysM ▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin? https://www.youtube.com/watch?v=cqm72704ZCE ▶ Laravel Packages https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVvcFXGEiw9pke7AuyrjdXv ▶ Laravel Backup Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWIMDkTK4f_oL0rQR5UV0O1 ▶ Laravel Fortify Tutorial https://www.youtube.com/playlist?list=PL1TrjkMQ8UbU2BrO6ubfXio3OG4t6Oqpz ▶ Laravel Passport Tutorials https://www.youtube.com/playlist?list=PL1TrjkMQ8UbWqLEiPjsmuoTJNLKbcsYce ▶ Setup Web Development Environment Ubuntu https://www.youtube.com/playlist?list=PL1TrjkMQ8UbUsk2YD-gJ_OfJWi_pIJ5BV Support my work: 1. On BuyMeACoffee: https://www.buymeacoffee.com/qirolab 2. On Patreon: https://www.patreon.com/qirolab ???????????? ???????? https://m.do.co/c/e740238537d0 Also, follow us on: ????????: https://fb.com/qirolab ???????: https://twitter.com/qirolab