Laravel : Migration Modifiers & Constraints Tutorial in Hindi / Urdu

  Рет қаралды 34,206

Yahoo Baba

Yahoo Baba

Күн бұрын

In this tutorial you will learn Laravel database migration constraints tutorial in Hindi, Urdu. You can learn how to add constraints to Laravel migration file and how to modify database tables with Laravel migration in Laravel tutorial in Hindi and Urdu.
✅ MySQL Tutorial Playlist in Hindi / Urdu
• 🥇 MySQL Tutorial for B...
✅ Laravel Tutorial Playlist in Hindi / Urdu
• Laravel 11 Tutorial Co...
✅ Laravel Projects
www.yahoobaba....
✅ PHP Tutorial Playlist in Hindi / Urdu
• ✅ PHP Tutorial in Hind...
✅ Official Website
www.yahoobaba.net/
✅ Follow us on Facebook
/ yahooobaba
✅ Follow us on Twitter
/ yahooobaba
✅ Follow us on Instagram
/ yahoo_baba
#laravel #php #webdevelopment #yahoobaba

Пікірлер: 92
@harshwadhwani7050
@harshwadhwani7050 Жыл бұрын
Thank you for your regular uploads on KZbin! We are all thrilled to see you back, and your videos bring happiness to many people. I understand that being a KZbinr isn't your full-time job, but the fact that you still make time to create videos for us is greatly appreciated. Thank you so much for your efforts and dedication!
@dayalchandraroy9587
@dayalchandraroy9587 9 ай бұрын
Very useful Video. I am From Bangladesh. I have learned Laravel from your channel. And also learned Hindi from You seeing your video. Now I understand Hindi almost 90 %. Thanks For your Work.
@prasadbagul2146
@prasadbagul2146 Жыл бұрын
Sir your teaching is awesome i learn so many things from your channel but sir please cover remaining topics of your advance and basic JavaScript series
@shivsharma3918
@shivsharma3918 7 күн бұрын
Excellent Video Lecture
@suraj-se5ne
@suraj-se5ne Жыл бұрын
bahut bahut Dhanywad. Please 2 din ke gap pr is series me 1 video upload klar diya kariye plz sir
@suraj-se5ne
@suraj-se5ne Жыл бұрын
sir ji, mai wait kar rha tha aapke is video ka 🙏
@kanhaiyanigamjee8980
@kanhaiyanigamjee8980 Жыл бұрын
east and west yahoo baba is best👍👍👍👍👍👍
@VikashKumar-op6kn
@VikashKumar-op6kn 10 ай бұрын
Hi, I request you to please complete this course Make video on #Roles,#Permission,#Get in Laravel please
@bidyutmahato87
@bidyutmahato87 Жыл бұрын
Daily video chahiye sir
@YahooBaba
@YahooBaba Жыл бұрын
Dear KZbin mera fulltime job nahi hai, mera main kaam FullStack Development ka hai. Yeh toh main free time mein karta hun.
@bidyutmahato87
@bidyutmahato87 Жыл бұрын
@@YahooBaba okay sir . Jo vi hai accha hai . 2 din main 1 video dalne ka try karna
@amjadahmadzai7947
@amjadahmadzai7947 Жыл бұрын
thank you so much we are proud on you sir ,
@suraj-se5ne
@suraj-se5ne Жыл бұрын
sir 2 din ho gaye , aapne is series me koi video update nahi kiya hai. Please upload the video. Your teaching is good for me.
@muhammadrizwanrazi1914
@muhammadrizwanrazi1914 Жыл бұрын
Good morning yahoo baba..❤
@techcamp_pro48
@techcamp_pro48 Жыл бұрын
sir ap ne kaha ta laravel ke ander jab hum table create kartye hain tu *s* sath lazmi aye ga but jab ap table ka renmae kar rahye hain tu ap ne students se student kar dea ta , hOW ? *AND 2nd* me ne without *s* ke table create kar ke dekh vo tu hu raha hai like student
@user-ko4dt5hn5g
@user-ko4dt5hn5g 5 ай бұрын
In Laravel and many other PHP frameworks, it’s a convention to use plural table names in the database. This convention is part of what’s known as the “pluralization” naming convention. While it’s not a strict requirement, it’s widely followed, and there are good reasons for doing so: Readability and Clarity: Plural table names make the database structure more readable and self-explanatory. When you see a table named “users,” for example, it’s clear that the table holds multiple user records. Consistency: Following naming conventions helps maintain a consistent and predictable codebase. When developers consistently use plural table names, it’s easier for others to understand the database structure. Compatibility: Many Laravel features and Eloquent (Laravel’s ORM) assume that you’re following the pluralization convention. When you adhere to this convention, it reduces the need for additional configuration, making your code more straightforward. Eloquent ORM: Eloquent, Laravel’s ORM, is designed to work seamlessly with plural table names. It uses naming conventions to automatically map models to database tables. If you follow the pluralization convention, you can take advantage of this functionality without extra configuration. That said, Laravel is a flexible framework, and it doesn’t strictly enforce this convention. You can use singular table names if you prefer, but you might need to configure Eloquent relationships and model-to-table mappings manually in your models if you deviate from the convention. For example, you can use the protected $table property in your model to specify a custom table name.
@Kodil-jx2hp
@Kodil-jx2hp 2 ай бұрын
This video tutorial covers migration modifiers and constraints in Laravel, including adding new columns, renaming columns, deleting columns, changing column order, and modifying data types. It also demonstrates how to create a new migration file, update an existing table, and apply various constraints such as unique, nullable, and default values. Key moments: 00:01 The video discusses how to modify tables and columns in Laravel migration using commands and flags, demonstrating the process step by step. -Creating and modifying columns and tables in Laravel migration. -Understanding the process of renaming, deleting, and changing column order in tables. -Exploring data type and size modifications in columns, along with schema and class creation. 06:03 The video demonstrates creating migration files in Laravel, updating tables, and adding new columns to tables using commands in a practical session. The process involves running migration files, updating schemas, and executing commands in the terminal. -Creating migration files and updating database tables using Laravel commands. -Adding new columns to tables and updating schemas during the migration process. -Demonstrating the use of automated commands for rolling back changes and resetting tables. 12:08 The video discusses creating and modifying tables in Laravel migrations. It demonstrates renaming columns, adding new columns, and setting default values for columns. -Demonstrating the process of renaming and adding columns in Laravel migrations. -Explaining the method for changing column sizes and handling existing columns. -Creating a new migration file, setting default values, and using flags in Laravel migrations. 18:12 The video demonstrates how to rename columns in a table, change default values, and check table versions in a database management system. It also shows how to update table structures and handle existing tables effectively. -Checking and updating table versions in the database management system. -Renaming columns and setting default values in a table. -Demonstrating the process of checking and adjusting table structures for improved database management. 24:15 The video explains how to rename tables and create new columns in a database using Laravel migration commands, demonstrating practical examples and unique features. -Demonstration of renaming tables and creating migration files in Laravel. Practical examples of using terminal commands for database management. -Explaining the process of setting default values and making columns unique in Laravel migrations. Showing how to handle unique constraints and default values effectively. -Illustrating the concept of primary and foreign keys in database tables using Laravel migrations. Detailing the importance of setting primary and foreign keys for table joins. 30:18 The video discusses creating primary and foreign keys in Laravel, setting restrictions on columns, and utilizing methods like 'auto increment' and 'current' for efficient database management. -Setting restrictions on columns and joining tables in Laravel for efficient database management. -Utilizing 'auto increment' and 'current' methods for seamless data handling and table alterations in Laravel. -Rolling back migrations, creating new tables, and defining columns like 'student ID' in Laravel for structured database operations. 36:21 The video demonstrates setting primary and foreign keys in Laravel, ensuring uniqueness and default values for columns. It also showcases how to add constraints and modify columns for database tables. -Setting primary and foreign keys in Laravel for database tables. -Ensuring uniqueness and default values for columns in the database schema. -Adding constraints, modifying columns, and understanding column attributes in Laravel. By Pansota-43 form Pakistan
@princesubba8317
@princesubba8317 Жыл бұрын
Thank you so very much sir
@ZikreMustafaSAW
@ZikreMustafaSAW 6 ай бұрын
Good Video
@w3techbd
@w3techbd 7 ай бұрын
Thank you sir
@rosuperhitttttttt4206
@rosuperhitttttttt4206 Жыл бұрын
sir u are amazing
@DEBUGENTITY
@DEBUGENTITY 22 күн бұрын
why percentage column is not added in last part of the video at 41:00
@manishprajapati1111
@manishprajapati1111 Жыл бұрын
😊😊👍👍👍👍👍👍👍👍
@jayeshparmar3132
@jayeshparmar3132 Жыл бұрын
THANK YOU
@shakeelahmad2424
@shakeelahmad2424 Жыл бұрын
Bhtttttttttttt khoooooob
@bidyutmahato87
@bidyutmahato87 Жыл бұрын
Thanks 🙏
@shajadulshadin
@shajadulshadin 6 ай бұрын
Done
@HarshitSharma-qx6uk
@HarshitSharma-qx6uk 11 күн бұрын
Sir percentage and comment field database table mei migrate nhi hua?
@fahizbaloch5929
@fahizbaloch5929 11 ай бұрын
💗💗💗
@user-wr4xg9hf5n
@user-wr4xg9hf5n 10 ай бұрын
😘
@junaidhassanmustafa4986
@junaidhassanmustafa4986 Жыл бұрын
Hi Sir, Har baar jb bhi file ko migrate krengy to us k baad modification k liye dobara dobara command chala kar update ki migration banaengy aur modify krengy? I mean jo aik baar (php artisan migrate) hogai, agli baar me dosri file create krwaengy again modification k liye? Please reply to this thoroughly here.
@nerdyfm4288
@nerdyfm4288 10 ай бұрын
nahi ussi file maay change kar dejiyea aur us kaay baad php artisan migrate run kardejiyea!!!
@muhammadashan8762
@muhammadashan8762 16 күн бұрын
wha :)
@shanikhan5148
@shanikhan5148 Жыл бұрын
Sir mera ik question ha agr hum koi website bnaty ha to us sy phaly us website ka figma design tyar krna prta ha ya phir without figma ky bi website design ki ja sakti ha? Jasay ky aap ny web templates or websites bnay ha to aap figma design ky according bnaty ha kya ?
@YahooBaba
@YahooBaba Жыл бұрын
Aisa kuch jaroori nahi hai ki Website development se pehle Figma/ Photoshop/ Adobe Xd jaise software ki file banayi jai. Kahi baar hum kisi doosri website ke design ko dekh kar bhi website banante hai ... jaise bhi client ki requirement hoti hai. Lekin companies mein mostly pehle figma ya psd file bana kar kaam shuru hota hai. Pehle client se approve hota hai design aur baad mein HTML, CSS, JS ka kaam hota hai.
@shanikhan5148
@shanikhan5148 Жыл бұрын
​@@YahooBaba Thanks Sir ❤
@voiceofrjbilal
@voiceofrjbilal 10 ай бұрын
Sir jo uper update wali file ap ny banai thi to aus py bi to ap ye dropcolumn etc sab kr sakty thy ye new migration kau banai???
@YahooBaba
@YahooBaba 10 ай бұрын
Aisa hum tab karenge jab hum ek team mein project mein kar kar rahe honge. Jab aap koi bhi modification karenge database mein toh wahi migration wali file aap baki team mates ko de denge. Lekin agar aap he akele ek project pe kaam kar rahe hain toh new migration file banane ki koi jaroorat nahi hai.
@shubhamnimanpure5807
@shubhamnimanpure5807 Жыл бұрын
Sir react js pr video banado plz👏🏼👏🏼
@YahooBaba
@YahooBaba Жыл бұрын
After Laravel course
@shahindomar3958
@shahindomar3958 Жыл бұрын
Nice
@muzamilqasim
@muzamilqasim Жыл бұрын
Hello sir, Sir apki website par jo php or laravel k projects hain os me live demo par click karty hain to kia wo dynamic website hain ya static templates? Or agr dynamic hain to har projects k database upload hy? Sir ye explain kar dain k demo upload karny ka kia procedure hota hy or live preview kesy banty hain?
@YahooBaba
@YahooBaba Жыл бұрын
Hello, Jo bhi projects demos humari website pe hai woh sabhi Dynamic Website hai with Database. Demos banane ke liye kuch fake data dalna padta hai aur Database ki Insert, Update aur Delete commands ko band karna padta hai because jo bhi data dikh rha hai woh sirf display ke liye hota hai.
@muzamilqasim
@muzamilqasim Жыл бұрын
Thank you sir, 1 last confusion clear kar dain pls, Sir for example agr ham portfolio website me project show karny hain to view folder me ham project folder bnaye gy or osme sab projects rakhain gy? (Views/projects/all projects) Or in sab projects k routes or controller bhi add karny hongy main portfolio project me? Agr esa hy to is se routes or controller ko manage or modify krna difficult ho jaye ga. Agr koi or method hy to wo bta dain.
@YahooBaba
@YahooBaba Жыл бұрын
@@muzamilqasim Muzamil jaise aap soch rahe hain waisa kuch nahi hota. Har Demo project ke liye alag subdomain banaya jata hai. Mera kehne ka matlab hai har demo ek alag domain pe hota hai, kisi ek he project folder ke andar sabhi project nahi dale nahi jate.
@muzamilqasim
@muzamilqasim Жыл бұрын
Thanks alot sir ❤
@codecommitter
@codecommitter Жыл бұрын
sir agr ham ye database k saray functions ko direct php my admin se kr lein to kia issue ho g jese table k columns k change krna, constraints apply krna , table delete krna, table name modify krna. kindly respond. php me ham agr direct krtay thay to koi frq ni prta tha
@YahooBaba
@YahooBaba Жыл бұрын
Aap bilkul theek soch rahe hai. Yeh sab kaam hum directly phpmyadmin mein ja kar bhi kar sakte hai. Migration ka use tab hota hai jab aap team mein kaam karte hai aur sath mein GIT use karte hai. Jab aap kisi company mein kaam krenge toh wha par jyada chance hai ki Migration ka use hota hoga. Isliye aapko Migration ki knowledge honi chahiye but yeh compulsory nahi hai.
@rizwanpathan8129
@rizwanpathan8129 Жыл бұрын
How to drop updated and Created colums in Database. I am Unable to insert data. Facing updated and Created columns error. Please Suggest
@YahooBaba
@YahooBaba Жыл бұрын
For that you have to use down() function in your migration file. public function down(): void { Schema::dropIfExists('users'); } Place your code in down() that whenever developer rollback this page then what update column and created column have to be removed.
@darshilpatel7645
@darshilpatel7645 Жыл бұрын
Sir second update ki file migrate karta hu to error aata hai. "Changing columns for table 'students' require Doctrine DBAL. Please install the doctrine/dbal package." Iska solution!!!
@YahooBaba
@YahooBaba Жыл бұрын
First Question : Apka Laravel version kaunsa hai ? 2) MySQL ka version kaunsa hai ? 3) Aapne kaunse methods use kiye hai columns ko update karne ke liye ?
@darshilpatel7645
@darshilpatel7645 Жыл бұрын
@@YahooBaba 1. Laravel version 10 2. MySql version 8.0.19 3. $table->dropColumn('email'); $table->string('city',20)->default('No City')->change();
@YahooBaba
@YahooBaba Жыл бұрын
@@darshilpatel7645 See your MySQL is lower than 8.0.3, so you have to install doctrine/dbal package. Open your terminal in VS Code and paste this command : composer require doctrine/dbal It will solve your problem.
@darshilpatel7645
@darshilpatel7645 Жыл бұрын
@@YahooBaba Ok sir. Thank you for helping me ♥♥😇
@parulrawat136
@parulrawat136 Жыл бұрын
Thank you for the question , and thank to you too yahoo baba for solution
@viral_agent0
@viral_agent0 Жыл бұрын
Kodular tutorial par tutorial banao bhai
@sumananaskar3953
@sumananaskar3953 8 ай бұрын
If i want to update a table for the second time, it is showing a error that the table is already exists.. What should i do?
@rahulchand5729
@rahulchand5729 7 ай бұрын
no problem put the cmd php artisan migrate:refresh and hit the enter
@techsupport_az
@techsupport_az Жыл бұрын
Sir your premium laravel project css file not work ...please help!
@YahooBaba
@YahooBaba Жыл бұрын
Which project ? My Email : hello@yahoobaba.net
@princesukhala7106
@princesukhala7106 9 ай бұрын
22:00 min done
@suraj-se5ne
@suraj-se5ne Жыл бұрын
SIR, GOOD MORNING, Sir aaj 3 din ho gaye , abhi tak aapne laravel se related koi video upload nhi kiya? please next video upload kar dijiye
@Mubashir-IT
@Mubashir-IT Жыл бұрын
Sir ap laravel Par or videos banaen
@suvajitdandapat732
@suvajitdandapat732 Жыл бұрын
sir how much time it will take to complete laravel 10
@YahooBaba
@YahooBaba Жыл бұрын
30 Day to 3 months
@ShaikKhaja476
@ShaikKhaja476 11 ай бұрын
Hi, could you please add video on apis
@YahooBaba
@YahooBaba 11 ай бұрын
Sure
@getsetalk
@getsetalk Жыл бұрын
Sir Sabhi Laravel episode par number v daal dijiye pata nhi chal pata hai kabhi kabhi
@YahooBaba
@YahooBaba Жыл бұрын
Dear already sabhi videos ke thumbnail pe Number dala hua hai.
@premmourya7060
@premmourya7060 Жыл бұрын
Sir canvas seekhna h kya kru
@08_saptarshichatterjee94
@08_saptarshichatterjee94 Жыл бұрын
Sir how can I contact you? I have some doubts
@YahooBaba
@YahooBaba Жыл бұрын
email me : hello@yahoobaba.net
@alamshaikh4358
@alamshaikh4358 Жыл бұрын
Sir how many videos are left on migration?
@YahooBaba
@YahooBaba Жыл бұрын
1 video
@alamshaikh4358
@alamshaikh4358 Жыл бұрын
@@YahooBaba When it will upload sir?
@YahooBaba
@YahooBaba Жыл бұрын
@@alamshaikh4358 On 1 Day in 2023 😄
@nontechbg
@nontechbg 2 ай бұрын
6 July 2024 👍👍👍👍
@ZahoorAmamMehdiASNetwork
@ZahoorAmamMehdiASNetwork Жыл бұрын
Hello bro Sim number database video bana do please pakistan
@HassanKhan-pq6un
@HassanKhan-pq6un Жыл бұрын
Hello sir please make a tutorial on moneris payment gateway integration using Codeigniter or PHP please i really need this to get hired in a Canadian company please sir help me out i shall be very thankful to you for this kindness.
@YahooBaba
@YahooBaba Жыл бұрын
Hello Hassan, see all the payment gateways integration is almost 90% is same. If your know any payment integration then you can easily implement moneris payment gateway.
@HassanKhan-pq6un
@HassanKhan-pq6un Жыл бұрын
@@YahooBaba sir i never use any payment gateway before that's why i need moneris payment gateway tutorial please i have very short limited time and the only thing which i don't know.. it's a kind request sir
@HassanKhan-pq6un
@HassanKhan-pq6un Жыл бұрын
Sir please make one long video tutorial on moneris payment i take one more day for it please sir help me. Make one form for its payment credentials and attached moneris API to it to perform transactions please only this thing i need to learn..you are my ideal programmer through your channel i become a full stack developer the only thing is payment gateway which i didn't learn before i have cleared their interview round but they assign me a task to implement moneris payment gateway but i didn't find any tutorial on it
@HassanKhan-pq6un
@HassanKhan-pq6un Жыл бұрын
Sir please give me a detailed tutorial on it please sir... If you have time then please make tutorial on it tomorrow please
@YahooBaba
@YahooBaba Жыл бұрын
@@HassanKhan-pq6un Hassan don't search for moneris payment gateway. Learn any payment gateway and then follow this link to integrate Moneris : developer.moneris.com/Documentation/NA/E-Commerce%20Solutions/API
@raaz7070
@raaz7070 4 ай бұрын
Mera database create ho raha hai but admin panel pe show nahi ho raha , i want help
@YahooBaba
@YahooBaba 4 ай бұрын
Kaunsa admin panel ? Kya aap PHPmyadmin ki baat kar rahe hai ?
@raaz7070
@raaz7070 4 ай бұрын
@@YahooBaba ji
@raaz7070
@raaz7070 4 ай бұрын
@@YahooBaba php artisan show:status pe tables vi dikhara but php myadmin pe mil nahi raha database aur tables
@bidyutmahato87
@bidyutmahato87 Жыл бұрын
3-4 din wait karna pad raha hai 😢
@ritikpal1928
@ritikpal1928 Жыл бұрын
Itne jaldi ha to institute ma paise dee kr sikh lee jaldi 😎
@shehrozamin9543
@shehrozamin9543 10 ай бұрын
​​@@ritikpal1928 Sahi kaha ✅
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 26 МЛН
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 203 МЛН
مسبح السرير #قصير
00:19
سكتشات وحركات
Рет қаралды 11 МЛН
Laravel Controller Tutorial in Hindi / Urdu
37:47
Yahoo Baba
Рет қаралды 41 М.
Laravel Migrations: 12 Useful Tips in 12 Minutes
12:06
Laravel Daily
Рет қаралды 79 М.
Laravel Eloquent ORM Tutorial in Hindi / Urdu
42:34
Yahoo Baba
Рет қаралды 15 М.
Laravel Crash Course - Dealing with foreign key constraints
13:01
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 172 М.