diff --git a/common-features/src/demo.northwind/Migrations/NorthwindDB_20241120_1203_LanguageIdToCode.cs b/common-features/src/demo.northwind/Migrations/NorthwindDB_20241120_1203_LanguageIdToCode.cs index e529194ea3..fe3a0613b9 100644 --- a/common-features/src/demo.northwind/Migrations/NorthwindDB_20241120_1203_LanguageIdToCode.cs +++ b/common-features/src/demo.northwind/Migrations/NorthwindDB_20241120_1203_LanguageIdToCode.cs @@ -7,10 +7,13 @@ public class NorthwindDB_20241120_1203_LanguageIdToCode : AutoReversingMigration { public override void Up() { - Alter.Table("CategoryLang") - .AlterColumn("LanguageId").AsString(10).NotNullable(); + if (!this.IsSqlite()) + { + Alter.Table("CategoryLang") + .AlterColumn("LanguageId").AsString(10).NotNullable(); - Alter.Table("ProductLang") - .AlterColumn("LanguageId").AsString(10).NotNullable(); + Alter.Table("ProductLang") + .AlterColumn("LanguageId").AsString(10).NotNullable(); + } } } \ No newline at end of file