107 Commits

Author SHA1 Message Date
Martin Ro
ad219e82aa
Make email unique (#5978)
When seeding large amounts of users there is a chance for a duplicate entry SQL error because the email column is unique. 64e0175398/database/migrations/2014_10_12_000000_create_users_table.php (L19)
2022-09-02 09:10:54 -05:00
Taylor Otwell
7b17f5f326 use short closure 2022-08-20 12:22:43 -05:00
suyar
6e1103180b
Update laravel/sanctum version (#5957) 2022-07-29 08:01:11 -05:00
Nuno Maduro
fa5e54a2ab
[9.x] Uses laravel/pint for styling (#5945)
* Uses `laravel/pint` for styling

* Makes `.styleci.yml` ignored on export

* Update composer.json

Co-authored-by: Dries Vints <dries@vints.io>
2022-07-15 08:38:49 -05:00
Taylor Otwell
0c3d1fabe5 use global functino 2022-06-22 11:02:43 -05:00
Dries Vints
5c5a300bfd
[9.x] Add specific test user in seeder (#5879)
* Update DatabaseSeeder.php

* formatting

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-05-05 08:53:49 -05:00
Choraimy Kroonstuiver
6479a60e95
Improve typing on user factory 2022-02-09 21:24:35 +01:00
Craig Morris
1db81e7e8c use FQN 2022-01-21 12:32:08 +00:00
Craig Morris
4c94086856 switch to extends 2022-01-21 12:21:38 +00:00
Craig Morris
7bff7c6c61 add type to UserFactory for generic parent class 2022-01-21 12:12:45 +00:00
Nuno Maduro
2a88c174b6
Imports without model events trait on seeds (#5745) 2021-12-10 07:16:58 -06:00
Dries Vints
d54907c27d
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-10-26 17:22:00 +02:00
Nuno Maduro
9915831d22
Guess database factory model by default (#5713) 2021-10-22 13:11:06 -05:00
Taylor Otwell
bdcb9681a6 fix conflicts 2021-10-02 10:47:56 -05:00
Markus Machatschek
2c644455da
Use anonymous migration for personal_access_tokens table (#5698)
* Use new migration class name style for personal_access_tokens table

* Update 2019_12_14_000001_create_personal_access_tokens_table.php
2021-09-29 09:44:21 -05:00
JuanDMeGon
5f7395b289
Keeping access tokens migration id consistent (#5691)
This is just a tiny "fix," using id(); to be consistent with the other migrations already included in the framework.
2021-09-28 08:03:31 -05:00
Dries Vints
018bb3c157
Merge branch '8.x'
# Conflicts:
#	composer.json
2021-08-12 15:39:10 +02:00
Taylor Otwell
226d1bfc3c
[8.x] Sanctum (#5663)
* initial sanctum poc

* add files

* remove token
2021-08-11 13:44:34 -05:00
Dries Vints
4ce641d571
Apply fixes from StyleCI (#5607) 2021-05-07 05:54:25 -05:00
Dries Vints
dd8111a32d
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	tests/Feature/ExampleTest.php
#	tests/Unit/ExampleTest.php
2021-04-20 18:14:47 +02:00
Roger Vilà
e109ac9022
Update .gitignore (#5593) 2021-04-16 08:13:56 -05:00
Dries Vints
6746f4ec12
[9.x] Implement anonymous migrations (#5590)
* Implement anonymous migrations

* Apply fixes from StyleCI (#5589)
2021-04-15 06:53:35 -05:00
JuanDMeGon
0e8e9a0727
[8.x] Using faker method instead of properties (#5583)
After Faker PHP 1.14 using properties is deprecated and is recommended to use methods instead.
2021-04-13 07:28:01 -05:00
Taylor Otwell
ebf2646c34 wip 2021-02-16 10:58:35 -06:00
Jared Lewis
eaf7289523
Add unverified state to UserFactory (#5533) 2021-02-09 14:52:23 -06:00
Salim Djerbouh
ca30159cab
fully qualified user model in seeder (#5406)
makes it easy to just uncomment when tinkering around
2020-09-13 09:17:54 -05:00
Taylor Otwell
710d472d76 models directory 2020-08-20 15:31:07 -05:00
Taylor Otwell
d6eda444a7 update defaults 2020-08-19 09:32:54 -05:00
Dries Vints
a429eab2d4
Merge branch 'master' into develop 2020-06-16 14:56:56 +02:00
Taylor Otwell
9e5ba571a6 add password reset migration 2020-05-28 10:08:01 -05:00
Taylor Otwell
c3f7dd9af8 fix doc block 2020-05-18 10:20:51 -05:00
Taylor Otwell
fac16a7e26 Update DatabaseSeeder.php
Update example.
2020-04-21 14:47:10 -05:00
Taylor Otwell
2149e8c24c update seeders 2020-04-21 14:44:37 -05:00
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 50176732d66b197de62d5567b79fc77f63e2cfbd.
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