Just a short note to help remember the event sourcing setup for MySQL.
CREATE DATABASE eventstore_db;
CREATE USER 'eventstoreuser'@'localhost' IDENTIFIED BY 'changeit';
GRANT SELECT, INSERT ON eventstore_db.* TO 'eventstoreuser'@'localhost';
Just a short note to help remember the event sourcing setup for MySQL.
CREATE DATABASE eventstore_db;
CREATE USER 'eventstoreuser'@'localhost' IDENTIFIED BY 'changeit';
GRANT SELECT, INSERT ON eventstore_db.* TO 'eventstoreuser'@'localhost';
func isoTimestamp() -> String { let dateFormatter = NSDateFormatter() // dateFormatter.timeZone = NSTimeZone.localTimeZone() // C# "yyyy-MM-ddTHH:mm:ss.fffZ" dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" return dateFormatter.stringFromDate(NSDate()) }