You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating the plan matter (#273 ) requires that a plan has non-zero initiation date.
So let's add a new trigger: when INSERTing NEW plan, let's save the current time in lifecycle_date with lifecycle_status "02" (vireilletullut).
Also, we want a date to be present for all regulations, propositions and plan objects, so let's add the trigger in all the tables with lifecycle status. However, the date should always have same status as plan, so let's set the lifecycle_status by looking at plan lifecycle_status.
Will have to do this now to get plan matter tests up and running. Or at the very least, will have to add statuses to newly created objects.
The text was updated successfully, but these errors were encountered:
Rikuoja
changed the title
Add lifecycle date started_at when a new plan is created
Add lifecycle date started_at when a new plan, plan regulation, plan proposition or plan feature is created
Jun 11, 2024
Rikuoja
changed the title
Add lifecycle date started_at when a new plan, plan regulation, plan proposition or plan feature is created
Add lifecycle date "vireilletullut" started_at when a new plan, plan regulation, plan proposition or plan feature is created
Jun 11, 2024
Rikuoja
changed the title
Add lifecycle date "vireilletullut" started_at when a new plan, plan regulation, plan proposition or plan feature is created
Add lifecycle date started_at when a new plan, plan regulation, plan proposition or plan feature is created
Jun 11, 2024
Creating the plan matter (#273 ) requires that a plan has non-zero initiation date.
So let's add a new trigger: when INSERTing NEW plan, let's save the current time in lifecycle_date with lifecycle_status "02" (vireilletullut).
Also, we want a date to be present for all regulations, propositions and plan objects, so let's add the trigger in all the tables with lifecycle status. However, the date should always have same status as plan, so let's set the lifecycle_status by looking at plan lifecycle_status.
Will have to do this now to get plan matter tests up and running. Or at the very least, will have to add statuses to newly created objects.
The text was updated successfully, but these errors were encountered: