0 Best Reply Awards

  • Member Since 11 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

12th January, 2018

jlsodai started a new conversation Uniqid() Generating Same String On Each Create Record. • 8 months ago

I am quite new to Laravel and need your help. I want to create a unique string for the uniq field... But laravel is giving me the same value over and over again. Any help on why this is happening or a better way to generate a unique but not too long id (eg. 5a5971196db9e) will be much appreciated.

Schema::create('schools', function (Blueprint $table) {
Edit Your Profile

Want to change your profile photo? We pull from gravatar.com.