Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add createdAt to Service entity #636

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Add createdAt to Service entity #636

merged 1 commit into from
Jun 12, 2024

Conversation

MKodde
Copy link
Contributor

@MKodde MKodde commented Jun 12, 2024

This additional field will show us when a service is created. It is not displayed anywhere in the UI (by design). It is just there for the TPMs to inform them for how long the SP has been granted access to the dashboard.

See: https://www.pivotaltracker.com/story/show/187715470

@MKodde MKodde requested a review from parijke June 12, 2024 13:39
*/
#[Gedmo\Timestampable(on: 'create')]
#[ORM\Column(type: 'datetime')]
private DateTime $created;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to rename this to createdAt

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a better name, thanks for the suggestion.

This additional field will show us when a service is created.

See: https://www.pivotaltracker.com/story/show/187715470
@MKodde MKodde force-pushed the feature/service-createdate branch from 142ba71 to a5b18e4 Compare June 12, 2024 13:59
@MKodde MKodde changed the title Add created to Service entity Add createdAt to Service entity Jun 12, 2024
@MKodde MKodde merged commit 1d8b507 into main Jun 12, 2024
1 of 2 checks passed
@MKodde MKodde deleted the feature/service-createdate branch June 12, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants