Haribhau Ingale <hari31...@...> writes:

> 
> 
> I mean delete books table manually from Database if you don't have two
migration files creating books table.
> On Sat, May 29, 2010 at 3:49 PM, Haribhau Ingale
<[email protected]> wrote:Hi,  Can you just
check once again that you don't have two migration files creating books table?
If not then you can choose books tables manually.Thanks,--Haribhau
> 
> 
> 
> On Sat, May 29, 2010 at 3:24 AM, DVM
<[email protected]> wrote:
> 
> I am beginner for this Rails  from the past 2 days I am working hard
> to fix the following error
> C:\Murali Rubby\demo\library>rake db:migrate
> (in C:/Murali Rubby/demo/library)
> ==  CreateBooks: migrating
> ====================================================


-------
Hi,

For this issue, I see the solution below on the internet, Can you try it:

** Add ":force => true" to your code.

example:
...........
create_table :books, :force => true do |t|
        t.string     :title, :limit => 32, :null => false
..............

** Try again: rake db:migrate --trace, then look at the Database to see 
the changes.

** This issue will be resolved by the logic in:
- We have the logic to handle this in:
ruby\gems\1.8\gems\activerecord-2.3.8\lib\active_record\connection_adapters
\abstract\schema_statements.rb

Regards,
THuynh


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to