Increase ID column size; seed ID generator with uniqid() #630 (#631)

This commit is contained in:
Nabeel S
2020-03-09 13:16:10 -04:00
committed by GitHub
parent 2c238763cb
commit 80b20a8b25
7 changed files with 55 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ abstract class Model extends \Illuminate\Database\Eloquent\Model
/**
* Max length of ID for string columns
*/
public const ID_MAX_LENGTH = 12;
public const ID_MAX_LENGTH = 16;
/**
* For the factories, skip the mutators. Only apply to one instance