Hello,
Looking at source code I discovered that db:schema:dump is the cause
of problem. It's dumping the schema in an invalid form.
Check:
create_table "conteudos", :force => true do |t|
t.column "version", :integer, :default => 1
t.column "parent_id", :integer, :default => 0
t.column "nome", :string, :default => ""
t.column "texto", :text, :default => ""
end
While the code used to create it was:
create_table :conteudos do |t|
t.column :version, :integer, :false => true, :default => 1
t.column :parent_id, :integer
t.column :nome, :string
t.column :texto, :text
end
And then when it builds the testing database it uses the invalid
schema, hence the fail.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
you the whole house."
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]