# |
May 21st 2019, 20:57 |
ricksaccous |
yeah it just makes things faster as well |
# |
May 21st 2019, 20:57 |
cnizzardini |
^ that much we can all agree on i think |
# |
May 21st 2019, 20:56 |
luisdelamo |
for safety migrations, create always with bin/bake migration MyMigration |
# |
May 21st 2019, 20:56 |
cnizzardini |
thanks |
# |
May 21st 2019, 20:55 |
ricksaccous |
personally |
# |
May 21st 2019, 20:55 |
cnizzardini |
yeah imma keep em |
# |
May 21st 2019, 20:55 |
ricksaccous |
i still wouldn't delete old ones |
# |
May 21st 2019, 20:55 |
ricksaccous |
to do things that way |
# |
May 21st 2019, 20:55 |
ricksaccous |
honestly i'm prob a mediocre dev as well so if you listened to me it'd be the blind leading the blind maybe it works nicer in your case |
# |
May 21st 2019, 20:55 |
cnizzardini |
our app is huge and that data helps em get going |
# |
May 21st 2019, 20:54 |
cnizzardini |
we prob are using migrations wrong, but, i prefer setting someone up with a staging dump |
# |
May 21st 2019, 20:54 |
ricksaccous |
cool |
# |
May 21st 2019, 20:53 |
cnizzardini |
already was using proper class and extending correctly |
# |
May 21st 2019, 20:53 |
cnizzardini |
@ricksaccous removing the namespace seems to work |
# |
May 21st 2019, 20:52 |
luisdelamo |
? |
# |
May 21st 2019, 20:52 |
luisdelamo |
can you show the error |
# |
May 21st 2019, 20:52 |
luisdelamo |
but not change |
# |
May 21st 2019, 20:52 |
luisdelamo |
@cnizzardini deprecated methods |
# |
May 21st 2019, 20:51 |
cnizzardini |
im a very mediocre developer |
# |
May 21st 2019, 20:51 |
cnizzardini |
but what do i know |
# |
May 21st 2019, 20:51 |
ricksaccous |
i like the idea of being able to get the app going in one command, tables created, etc |
# |
May 21st 2019, 20:51 |
cnizzardini |
and as part of CI and deployment |
# |
May 21st 2019, 20:51 |
cnizzardini |
yep |
# |
May 21st 2019, 20:51 |
ricksaccous |
so you don't have to keep SQL dumping |
# |
May 21st 2019, 20:51 |
ricksaccous |
i guess you use them to push changes up to each other |
# |
May 21st 2019, 20:50 |
cnizzardini |
cause we have em |
# |
May 21st 2019, 20:50 |
cnizzardini |
we are |
# |
May 21st 2019, 20:50 |
cnizzardini |
i mean |
# |
May 21st 2019, 20:50 |
ricksaccous |
then you aren't really using migrations |
# |
May 21st 2019, 20:50 |
ricksaccous |
heh |
# |
May 21st 2019, 20:50 |
cnizzardini |
Why have them run all those migrations |
# |
May 21st 2019, 20:50 |
cnizzardini |
We just give new engineers a sql dump |
# |
May 21st 2019, 20:48 |
ricksaccous |
that's mainly why |
# |
May 21st 2019, 20:48 |
ricksaccous |
imagine if you wanted a barebones version of the project up |
# |
May 21st 2019, 20:47 |
ricksaccous |
even then that's probably not wise |
# |
May 21st 2019, 20:47 |
ricksaccous |
you should never remove old migrations though imo unless you want to replace them with a snapshot migration |
# |
May 21st 2019, 20:46 |
ricksaccous |
lmao |
# |
May 21st 2019, 20:46 |
ricksaccous |
depends who is on your team |
# |
May 21st 2019, 20:43 |
cnizzardini |
Many of these migrations are several years old, is there any negative side effects to removing old migrations? |
# |
May 21st 2019, 20:42 |
ricksaccous |
i guess try and see if that helps |
# |
May 21st 2019, 20:42 |
cnizzardini |
so remove namespace App\config\Migrations;? |