I guess you want to change from NULL to NOT NULL, right? The code above clearly states that you already have a nullable column.
AlterColumn
command does not currently allow changing column 'nullability'.
Your best option is to issue a manual ALTER TABLE
command through SchemaBuilder.ExecuteSql()
or directly in the database. You can read about it eg. here.