mpociot / laravel-test-factory-helper

Generate Laravel test factories from your existing models
935 stars 87 forks source link

SmallInteger #24

Open timoteo7 opened 6 years ago

timoteo7 commented 6 years ago

Migration: $table->smallInteger('small');

Factory: 'small'=> $faker->numberBetween($min = 0, $max = 32767),

jrmadsen67 commented 5 years ago

NOTE: Small integer. The signed range is -32768 to 32767. The unsigned range is 0 to 65535

timoteo7 commented 5 years ago

yes, sorry for the bad example, but can you put this too in factory helper ?

jrmadsen67 commented 5 years ago

thanks, I understand now. I didn't know if you were pointing out a bug or asking for a feature

On Fri, Jan 11, 2019 at 8:31 AM Timoteo notifications@github.com wrote:

yes, sorry for the bad example, but can you put this too in factory helper ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mpociot/laravel-test-factory-helper/issues/24#issuecomment-453300753, or mute the thread https://github.com/notifications/unsubscribe-auth/AAyKxjeexERWFMFCcCn0uC6pXHdviENRks5vB80_gaJpZM4V2Oo2 .