Skip to content
  • Hugo Slabbert's avatar
    Fix postgresql support with db-agnostic code · da617fc9
    Hugo Slabbert authored
    Previous commit e201b10e added prelimary
    postgresql support at the cost of breaking mysql-backed caldav.  This
    commit introduces a unixtimestamp() function to output db-specific
    timestamp query syntax and uses that where needed.
    
    mysql.initial.sql is also updated to create a column named `username`
    rather than `user` in `caldav_props`, as `user` is a reserved keyword in
    e.g. postgresql.
    da617fc9