Skip to content

Commit

Permalink
Remove extra parens
Browse files Browse the repository at this point in the history
  • Loading branch information
volkanceylan committed Oct 23, 2024
1 parent b502686 commit ec66cad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public override void Up()
.WithColumn("InsertUserId").AsInt32().NotNullable()
.WithColumn("UpdateDate").AsDateTime().Nullable()
.WithColumn("UpdateUserId").AsInt32().Nullable()
.WithColumn("IsActive").AsInt16().NotNullable().WithDefaultValue(1));
.WithColumn("IsActive").AsInt16().NotNullable().WithDefaultValue(1);

Insert.IntoTable("Users").Row(new
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public override void Up()
.WithColumn("RolePermissionId").AsInt64().IdentityKey(this)
.WithColumn("RoleId").AsInt32().NotNullable()
.ForeignKey("FK_RolePermissions_RoleId", "Roles", "RoleId")
.WithColumn("PermissionKey").AsString(100).NotNullable());
.WithColumn("PermissionKey").AsString(100).NotNullable();

Create.Index("UQ_RolePerm_RoleId_PermKey")
.OnTable("RolePermissions")
Expand Down

0 comments on commit ec66cad

Please sign in to comment.