start ActiveRecord 4 compatibility push
need to assign model to constant before calling any methods

otherwise model gets into an invalid state including
thinking that its name is ""
fix order of ColumnDefinition's arguments
fix compatibility for a neglected TableDefinition call
and fix compatibility for a neglected ColumnDefinition call
Rails 4 switched default nullability for timestamps?