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

Replace the 2 availability tables by a single one #261

Open
mRoca opened this issue Apr 11, 2020 · 0 comments
Open

Replace the 2 availability tables by a single one #261

mRoca opened this issue Apr 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@mRoca
Copy link
Contributor

mRoca commented Apr 11, 2020

We currently have 2 different table for availabilties: UserAvailability and CommissionableAssetAvailability. We also have 2 repositories and every request is duplicated.

We need to replace those 2 tables by a single one. Each availability must contain a userId OR an assetId

Availability
========
id
userId (nullable)
assetId (nullable)
start
end
status
createdAt
updatedAt
history
@mRoca mRoca added the enhancement New feature or request label Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant