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

File model has to save service and unique Id #21

Closed
luceos opened this issue Nov 7, 2016 · 1 comment
Closed

File model has to save service and unique Id #21

luceos opened this issue Nov 7, 2016 · 1 comment
Milestone

Comments

@luceos
Copy link
Contributor

luceos commented Nov 7, 2016

Currently the File model is unaware where the file was saved. We have to start storing this information so we can delete these files later on.

Modify the database:

  • Add column remote_id, string, nullable
  • Add upload_method to phpdoc of File

Change logic to:

  • Save upload_method to database
  • Store the remote id to the database, eg for Imgur
@luceos luceos added this to the 0.2.0 milestone Nov 7, 2016
@luceos
Copy link
Contributor Author

luceos commented Nov 7, 2016

Fixed in 6922703

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant