Re: [Rails] Implement the schema.rb for updating the database

2011-08-21 Thread Colin Law
On 21 August 2011 03:23, coolesting wrote: > But i still have a question, can i design a database schema for migrating > once time. I don't want gonna to create a migration file for some operation > to database again and again. > Just creating a schema file for initializing the database at first.

Re: [Rails] Implement the schema.rb for updating the database

2011-08-20 Thread coolesting
But i still have a question, can i design a database schema for migrating once time. I don't want gonna to create a migration file for some operation to database again and again. Just creating a schema file for initializing the database at first. -- You received this message because you are subsc

Re: [Rails] Implement the schema.rb for updating the database

2011-08-20 Thread coolesting
Thanks colin, the tutorail is very helpful to me. 2011/8/20 Colin Law > On 20 August 2011 15:53, coolesting wrote: > > Hi, guys > > > > I fix the db/schema.rb file, and want to update the database using it . > > How i should do. i try 'rake db:migrate' but it not works. > > You should not manua

Re: [Rails] Implement the schema.rb for updating the database

2011-08-20 Thread Colin Law
On 20 August 2011 15:53, coolesting wrote: > Hi, guys > > I fix the db/schema.rb file, and want to update the database using it . > How i should do. i try 'rake db:migrate' but it not works. You should not manually change schema.rb, you should instead write a migration to change the database desi

[Rails] Implement the schema.rb for updating the database

2011-08-20 Thread coolesting
Hi, guys I fix the db/schema.rb file, and want to update the database using it . How i should do. i try 'rake db:migrate' but it not works. thanks for helps. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send em