Use normal datetime
Must use MySQL types
Improve schema
Remove setSharedState()
Fix schema