We are in the process of acclaimed job hunting. What I'm doing lately is becoming a habit. Recently, I was able to get into the habit of English and muscle training. Suddenly I got tired of English, so I read aloud a simple sentence by watching Gackt's vowel pronunciation youtube. One thing that changed my mind is Google Translate. I used to think that it was garbage because it didn't translate at all, but I found out that my pronunciation was actually garbage w Muscle training increased the weight and strength of the abdominal squat main exercise 20 I'm doing only minutes. It is the momentum that the abdominal muscles are likely to crack except for the side for the first time. And what I started in the last few days is the morning conversion. When the date changed for the past two months, I was watching videos with Amazon Prime, so I am doing it as a lifestyle improvement.
** Migration file is duplicated ** It's a guy who is addicted to beginners who are just starting out! ... Yes, I did it. ⇨ ** The solution is to erase one. that's all. ** **
● The migration file is a blueprint of the table when chewed. It is used when creating and updating a table during rails db: migrate. Once used, the migration file will not be used unless the table is updated and generated again. You can actually delete it without any problem.
● Can I really delete it? ** If you will never use the information written there **, you can delete it. Table changes are made many times during development. If there is no migration file at that time, the computer will not be able to read the table and an error will occur even if it was there before. Also, the table used in the development environment cannot be used in the production environment, and it is often the case that the DB in the production environment is installed and the table is reassembled, so it is important that there is no migration file at the production stage. It's been a long time, but the conclusion is ** I'm relieved even if I don't use it anymore **.
● If you double Even if the migration file is duplicated, I am worried that if I delete it, I will not be able to create a table (I became myself). However, in this case, there are only two identical design documents, so even if one is used, it will not change, and there are not as many tables as there are migration files, so please delete one with confidence.
I want a job offer! I want to enjoy the engineer life as soon as possible!
Recommended Posts