You don't generate migrations from the schema. Rb file. Instead, use rails generate migration or generate them as part of your models.
You don't generate migrations from the schema. Rb file. Instead, use rails generate migration, or generate them as part of your models.
Thanks Marnen for your reply, but I need to create a migrations. I have an app, I have the schema of database, but I by mistake deleted the migrations of tables from my DB. – user984621 Nov 8 '11 at 15:10 Uh, what?
Do you mean that you need to run the migrations? I cannot understand what you're asking. Please explain in more detail.
– Marnen Laibow-Koser Nov 8 '11 at 15:35 Well, I deploy my app to server and for creating the database on a server are using migrations. But my problem is, that I have not these migrations. And I don't know, what to do now... – user984621 Nov 8 '11 at 15:48 rake db:schema:load will create the DB from the schema file.Is that what you want?
– Marnen Laibow-Koser Nov 8 '11 at 16:09 Yeah, thanks... – user984621 Nov 9 '11 at 11:15.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.