标签: orchardcms database-migration
我试图向ProjectRecord表添加一个新列,我想允许空值, 代码:
SchemaBuilder.AlterTable(" ProjectRecord",table => table.AddColumn(" Related",DbType.Int32));
感谢。
Krbnr。
答案 0 :(得分:2)
.AddColumn<int>("Related", c => c.Nullable())