I have a problem with this application I am working on where I have to
modify the schema file directly. (it''s pretty crazy) When I run rake
db:test:prepare it will change my schema file to its default setting
where
create_table :events, :force => true do |t|
t.column "name", :string
end
becomes
create_table "events", :force => true do |t|
t.column "name", :string
end
I also have, at the end of the file, a new event being created and
imported into my db. when that rake command is ran, that portion of the
schema file is deleted. Anyone know of why, or a way to stop this from
happening?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---