SubSonic 2 migration ignores columns added later -


I have a migration (v2) that creates a table and adds some columns:

 
TableSchema.Table layout = CreateTableWithKey ("layout"); Layout. Add column ("UserID", dbip.unit32); Layout. AddColumn ("WidgetID", DbType.UInt32); Layout. AddColumn ("Section", DbType.UInt32); Layout. AddColumn ("Rank", DbType.Int32);

Another migration (v3) adds a column to this table:

  Taskache. Layout = gettable ("layout"); Layout. AddColumn ("Collapsed", DBTip Boilan);  

The problem is that, SubSonic 2 Migration seems to be ignoring the v3 statement. The Deputy Commander reports the success, but the new column is never added, and anything defined as Generated SQL Migration v3 is missing.

Am I forgetting something? Is it not possible to add columns to an existing table?

Try calling

  this.AddColumn ("collapsed 

Html>