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

takestamp should be a timestamp not a int #14

Closed
ildyria opened this issue Dec 29, 2018 · 1 comment
Closed

takestamp should be a timestamp not a int #14

ildyria opened this issue Dec 29, 2018 · 1 comment

Comments

@ildyria
Copy link
Member

ildyria commented Dec 29, 2018

Sswitching the format of photos.takestamp to timestamp instead of int() will allow us to search by date with the help of eloquent : https://laraveldaily.com/eloquent-date-filtering-wheredate-and-other-methods/

This also imply changing albums.min_takestamp and albums.max_takestamp to timestamp too.

@ildyria
Copy link
Member Author

ildyria commented Dec 30, 2018

Done:
a4f9463
5d52c10

./artisan migrate will be (very) slow depending of the number of pictures on the server.
It needs to convert every single one of them one by one.

If someone has a more efficient solution for conversion, I will gladly take it.

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

No branches or pull requests

1 participant