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

2. Timezone sharing ability - Database model changes #193

Open
1 task
tomastiminskas opened this issue Feb 12, 2025 · 0 comments
Open
1 task

2. Timezone sharing ability - Database model changes #193

tomastiminskas opened this issue Feb 12, 2025 · 0 comments
Labels

Comments

@tomastiminskas
Copy link
Contributor

Create migrations and model changes to start storing timezoneEnabled, timezoneIdentifier, remoteTimezoneIdentifier and timezoneUpdated

Base branch: develop: All new changes needs to be done using develop branch as base branch. We use develop as base for Test Flight distribution releases

Requirements

  • Create new model version (Editor -> Add Model Version) on sphinx.xcdatamodeld to add the new attributes
  • Add the following new attributes to Chat model:
    - timezoneEnabled: boolean, default TRUE
    - timezoneIdentifier: string, default NULL
    - remoteTimezoneIdentifier: string, default NULL
    - timezoneUpdated: boolean, default TRUE
  • Add the following new attributes to TransactionMessage model:
    - remoteTimezoneIdentifier: string, default NULL
  • Set new model version as current version
  • Add attributes on Chat+CoreDataProperties.swift and TransactionMessage+CoreDataProperties.swift

Acceptance Criteria

  • Add migrations and model changes to Chat model, run app over current version and make sure it doesn't crash because of the migration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant