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

feat: use new $createdAt and $updatedAt attributes #3382

Merged
merged 4 commits into from Jun 20, 2022

Conversation

TorstenDittmann
Copy link
Contributor

@TorstenDittmann TorstenDittmann commented Jun 15, 2022

What does this PR do?

Using the newly introduced $createdAt and $updatedAt attributes and replacing similar old ones on existing collections.

Following Response Models now have those attributes:

  • Bucket
  • Collection
  • Deployment
  • Document
  • Domain
  • Execution
  • File
  • Func
  • Key
  • Membership
  • Platform
  • Project
  • Session (only $createdAt)
  • Team
  • Token (only $createdAt)
  • User
  • Webhook

Following existing (dateCreated,dateUpdated) attributes have been removed from Collections:

  • Collections
  • Platforms
  • Functions
  • Teams
  • Deployments
  • Executions
  • Buckets
  • Files

Test Plan

Existing tests.

Related PRs and Issues

#3011

Have you read the Contributing Guidelines on issues?

app/config/collections.php Show resolved Hide resolved
app/init.php Show resolved Hide resolved
app/init.php Show resolved Hide resolved
src/Appwrite/Utopia/Response/Model/Token.php Show resolved Hide resolved
Copy link
Contributor

@Meldiron Meldiron left a comment

Choose a reason for hiding this comment

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

LGTM

@TorstenDittmann TorstenDittmann merged commit 1ae0c7d into 0.15.x Jun 20, 2022
@TorstenDittmann TorstenDittmann deleted the fix-create-at-attributes branch June 20, 2022 13:01
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.

None yet

2 participants