Skip to content

Commit

Permalink
Removing the v2 DO migration for IdentityGroup (#2482)
Browse files Browse the repository at this point in the history
  • Loading branch information
betimshahini authored Jul 12, 2023
1 parent cbe6ef5 commit a618240
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions platform/account/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ logpush = true

durable_objects.bindings = [
{ name = "Account", class_name = "Account" },
{ name = "IdentityGroup", class_name = "IdentityGroup" }
{ name = "IdentityGroup", class_name = "IdentityGroup" },
]
services = [{ binding = "Edges", service = "edges" }]

Expand All @@ -18,10 +18,7 @@ new_classes = ["Core"]
[[migrations]]
tag = "v1"
renamed_classes = [{ from = "Core", to = "Account" }]

[[migrations]]
tag = "v2"
new_classes = ["IdentityGroup"]
# v2 migration has been removed from history as it wasn't a working migration

[[migrations]]
tag = "v3"
Expand All @@ -41,7 +38,7 @@ local_protocol = "http"
[env.dev]
durable_objects.bindings = [
{ name = "Account", class_name = "Account" },
{ name = "IdentityGroup", class_name = "IdentityGroup" }
{ name = "IdentityGroup", class_name = "IdentityGroup" },
]
services = [{ binding = "Edges", service = "edges-dev" }]

Expand All @@ -54,7 +51,7 @@ unsafe.bindings = [{ type = "metadata", name = "ServiceDeploymentMetadata" }]
[env.next]
durable_objects.bindings = [
{ name = "Account", class_name = "Account" },
{ name = "IdentityGroup", class_name = "IdentityGroup" }
{ name = "IdentityGroup", class_name = "IdentityGroup" },
]
services = [{ binding = "Edges", service = "edges-next" }]

Expand All @@ -67,7 +64,7 @@ unsafe.bindings = [{ type = "metadata", name = "ServiceDeploymentMetadata" }]
[env.current]
durable_objects.bindings = [
{ name = "Account", class_name = "Account" },
{ name = "IdentityGroup", class_name = "IdentityGroup" }
{ name = "IdentityGroup", class_name = "IdentityGroup" },
]
services = [{ binding = "Edges", service = "edges-current" }]

Expand Down

0 comments on commit a618240

Please sign in to comment.