how does rake tell which migrations have been run and which have not?

Question:how does rake tell which migrations have been run and which have not?

1.rails generate migration AddPhoneToTickets phone:string

2.rails records the latest timestamp of all the migrations it runs (and runs only the latest ones)

3.because they make the partial less dependent on other code

4.it can do more complex things like modifying the database structure and running tests


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!