I'm using SQL Server 2008 R2. When i do alter_table :table do add_column :score, :double end
# want to avoid default value constraint DB[:table].update(:score => 0.0) alter_table :offers do set_column_allow_null :score, false end I get this ALTER TABLE [table] ADD [score] double precision UPDATE [table] SET [score] = 0.0 ALTER TABLE [table] ALTER COLUMN [score] float NOT NULL Notice the bug on how double has now changed to float. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/yXh6aVqixwEJ. 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/sequel-talk?hl=en.
