performant-software / Neatline

A lightweight framework for building interactive maps and publishing them on the web.
www.neatline.org
Other
105 stars 34 forks source link

Added explicit timestamps to the NeatlineRecord model #465

Closed jamiefolsom closed 5 years ago

jamiefolsom commented 5 years ago

What does this PR do?

Closes #400, by adding explicit timestamps to instances of the NeatlineRecord model before saving, to be compatible with MySQL 5.6+

How to test

Create a new record in an existing neatline exhibit, then try to save it. It should save without an error.

Notes

Also adds a requirement for PHP 5.6+ (that version number is purely coincidental, and unrelated to MySQL version number at issue in this PR).