Bugs: Browse | Submit New | Admin

[#8356] db schema generating with boolean columns

Date:
2007-02-01 08:32
Priority:
3
Submitted By:
Valentine Bichkovsky (valentin_lv)
Assigned To:
Scott Knight (scknight)
Category:
None
State:
Open
Summary:
db schema generating with boolean columns

Detailed description
When scema is automatically generated for a Firebird DB table containing boolean column, it looks like the following:

t.column "internal_rules", :boolean, :limit => 2, :precision => 0, :scale => 0

instead of just 

t.column "internal_rules", :boolean

So, when using rake db:test:prepare for applying that schema to the test DB,
the following invalid SQL is generated for that column:

"INTERNAL_RULES" d_boolean(2)(2)(2)(2) DEFAULT NULL

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2007-11-09 00:32scknight