Commit Graph

124 Commits

Author SHA1 Message Date
Taylor Otwell 5f6f5c929b add model 2020-04-21 12:41:27 -05:00
Taylor Otwell b9af2b2294 Use new factories
Use the new factories provided in 8.x
2020-04-21 10:12:39 -05:00
ice b26aaff210 consistent filename 2020-03-28 09:53:47 +08:00
Graham Campbell 7e5a915485 Merge branch 'master' into develop 2019-12-31 12:26:17 +00:00
Graham Campbell 5df3b7b1fe Revert "Apply fixes from StyleCI (#5006)"
This reverts commit 50176732d6.
2019-12-31 12:21:39 +00:00
Taylor Otwell e6471a6f2e
Apply fixes from StyleCI (#5186) 2019-12-20 14:15:04 -06:00
Taylor Otwell f13aef8733 move var 2019-12-20 14:14:43 -06:00
Taylor Otwell 13e43893ba remove auth migration that is now in laravel/ui 2019-12-20 13:58:16 -06:00
Dries Vints 2e2be97c26 Implement new primary key syntax (#5147) 2019-11-01 08:53:14 -04:00
Dries Vints e656932002 Apply fixes from StyleCI (#5100) 2019-09-10 17:26:00 +02:00
Christopher Lass b67acda892 Rename 2019_08_19_175727_create_failed_jobs_table.php to 2019_08_19_000000_create_failed_jobs_table.php (#5082) 2019-08-21 08:14:32 -05:00
Taylor Otwell b7d2b48b75 add failed jobs table 2019-08-19 12:57:41 -05:00
Taylor Otwell 50176732d6
Apply fixes from StyleCI (#5006) 2019-04-24 07:38:42 -05:00
Stefan Bauer 12a4885a47 Fix phpdoc to order by syntax convention (#5005)
Reorder the `@var` phpdoc syntax by convention, see http://docs.phpdoc.org/references/phpdoc/tags/var.html
2019-04-24 07:38:18 -05:00
Sjors Ottjes ef1ce665ee
Update UserFactory.php 2019-04-14 13:30:53 +02:00
Lenophie ccc1457e57
Ignore SQLite journals 2019-03-24 12:01:21 +01:00
Ankur Kumar 426df7a0e4
[5.8] use bigIncrements by default
All new migrations will be using bigIncrements
https://github.com/laravel/framework/pull/26472
2019-02-24 10:53:30 +05:30
Dries Vints fae44eeb26
Replace string helper 2019-02-12 16:53:41 +01:00
Taylor Otwell 3959c09f3b import class 2018-12-18 09:07:33 -06:00
Taylor Otwell 4070dc98d4 fix conflicts 2018-12-18 09:06:40 -06:00
Kushal 9db658d6d1
Update UserFactory password in line with #4794
The new password is of 8 characters, as required by #4794
2018-10-06 23:17:02 +05:30
Gaurav Makhecha 62c5bbf820
Seeded users should be verified by default
the email_verified_at column value is used to determine whether a user has verified her account.
2018-09-15 10:14:06 +05:30
Taylor Otwell bf9836a785 Merge branch 'master' into develop 2018-07-19 07:48:44 -05:00
Taylor Otwell 746a9e87a0 use date 2018-06-21 15:32:22 -05:00
Taylor Otwell 592b3936a3 update migration 2018-06-21 11:11:30 -05:00
Taylor Otwell 657b25a6cb update comment 2018-03-21 16:29:49 -07:00
Sjors Ottjes c3d3dc1403
Add comment with the value of the hashed password 2017-12-21 17:00:07 +01:00
Taylor Otwell f693a20a3c just use hard-coded hash 2017-12-20 07:49:07 -06:00
Taylor Otwell c5add7ab72 simplify factory 2017-05-06 15:28:45 -04:00
Taylor Otwell c161b14ee0 Apply fixes from StyleCI 2017-04-11 15:43:42 +00:00
Taylor Otwell 67a8a11570 rename ModelFactory to UserFactory to encourage separate files 2017-04-11 10:41:19 -05:00
Taylor Otwell 2312580af8 Merge pull request #4180 from halaei/unindex-token
unindex token
2017-03-17 13:04:12 -05:00
halaei d6d98f9705 unindex token 2017-03-17 11:47:10 +03:30
Vincent Klaiber 1d8dcad342 Remove .gitkeep in migrations directory 2016-10-17 16:04:12 +02:00
Vincent Klaiber 0d2a2e3375 Remove .gitkeep in seeds directory 2016-10-17 16:03:51 +02:00
Diogo Azevedo 3ecc0e39ed Use dropIfExists instead of drop 2016-10-16 14:34:56 -02:00
ARCANEDEV f699e710ad Fixing typehint 2016-10-07 23:31:23 +01:00
Taylor Otwell a37215d044 fix spacing 2016-10-07 16:39:42 -05:00
Barry vd. Heuvel 93e078a79d Add typehint for Factory 2016-10-07 15:08:41 +02:00
Kai Rienow dcf971805d Add unique modifier 2016-09-20 08:23:40 +02:00
Adam Wathan 3435710575 Use implicit null instead of explicit 2016-08-21 14:29:10 +02:00
Adam Wathan 792dcd48c8 Compute hash only once and store in static variable 2016-08-21 14:23:50 +02:00
Adam Wathan b041a03878 Use precomputed hash instead of bcrypt in ModelFactory 2016-08-21 12:31:02 +02:00
Taylor Otwell e7a03b4538 Stop aliasing a bunch of classes by default.
This is not a breaking change since upgrade aliases will still work.
2016-07-14 11:27:16 -05:00
Sara Bine be7b2627ae Make password_resets.created_at nullable
Prevents MySQL assigning default CURRENT_TIMESTAMP
Related issue: laravel/framework#11518
2016-06-23 17:14:50 -06:00
SammyK 531629e442 Fix password column for future hashing 2016-02-23 20:07:18 -06:00
Lucas Michot 73c6898e1d Ensure files finish with a LB 2016-02-22 10:23:06 +01:00
Anthony Holmes 94b568b59d Rename commented default seeder call
Rename commented default seeder call to be consistent with official docs
2016-02-16 13:42:33 -06:00
Martin Bean 00e5c4465c Use safeEmail instead
Faker’s `email` method can accidentally generate email addresses. This ensures “safe” addresses are only ever generated by the factory, to avoid spamming actual mailboxes if mail was sent in a loop etc.
2016-02-16 12:02:26 +00:00
Joseph Silber d0a6e8818a Remove unguard call 2015-10-04 10:50:12 -04:00
Duilio Palacios 83ffbc65d1 Using the bcrypt function in users generated by the model factory 2015-07-13 16:05:37 +00:00
Andrew 037769e1aa remove leading slash
requested by project maintainer
2015-07-07 15:44:15 -05:00
Andrew 7bb1326535 type hint faker generator
allow IDE to help with autocompletion
2015-07-07 14:47:02 -05:00
Jose Jimenez 8910cb9726 Use the ::class notation
Updated to use ::class notation.
2015-06-23 10:07:33 -07:00
Pantelis Peslis 16e37cb370 Use the ::class notation 2015-06-08 10:29:33 +03:00
Graham Campbell bf3785d0bc Additional cs fixes
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Peter Haza 03a27fa0b2 Enable model guarding after doing seeds
Leaving models unguarded can cause all kinds of havoc if someone uses seeds in their tests.
Best to default to reguard after doing the seeds.
2015-05-31 20:33:11 +02:00
Taylor Otwell 9a6c3df7a0 Use define syntax. 2015-05-09 16:43:45 -05:00
Taylor Otwell fdf6dd7c20 Stub factory. 2015-05-08 08:42:04 -05:00
Taylor Otwell f4a2282e4e Add migration stubs. 2015-04-30 14:55:34 -05:00
Taylor Otwell 1f5681b398 Remove space. 2015-03-20 10:26:19 -05:00
Taylor Otwell 5e11f87de2 Remove auth scaffolding to make it opt-in. 2015-03-18 12:55:56 -05:00
Taylor Otwell 4c78958b5b Tweak a few things. 2015-02-22 22:37:16 -06:00
Taylor Otwell cc2139ac91 Tweaking a few things. 2015-02-22 21:56:03 -06:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell fa978d0525 Working on default app structure. Login views. 2014-11-24 11:42:29 -06:00
Taylor Otwell 4b2694ce76 Fix file. 2014-11-06 13:17:58 -06:00
Taylor Otwell 36e0014a6a Fix a few password reminder things. 2014-10-22 19:16:05 -05:00
Taylor Otwell f2279c0210 Scaffold authentication as default example. 2014-10-11 22:46:53 -05:00
Brian c3c93cf95b Updated Eloquent to Eloquent\Model 2014-09-04 09:55:12 +02:00
Dries Vints 2ddf39f29f Remove classes from aliases list
Eloquent and Seeder were used to extend from which is a bad practice.
The SoftDeletingTrait should be imported just like the UserTrait and the RemindableTrait.
Str was also removed because it's just a shortcut for the namespace. People can always re-add it if they like.
I wasn't entirely sure what FormRequest was doing here but I have a feeling it's going to be used for the same reasons as one of the above classes. So I removed it as well.
2014-08-31 17:13:44 +02:00
Taylor Otwell 9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00