Fix insert and randomize errors, fix time.Time

* MySQL requires timeParsing enabled
* Update readme to reflect this requirement
This commit is contained in:
Patrick O'brien 2016-09-19 15:22:32 +10:00
parent a164540276
commit fdeecbf106
5 changed files with 44 additions and 7 deletions

View file

@ -62,8 +62,12 @@ CREATE TABLE magic (
time_nine timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
time_eleven date NULL,
time_twelve date NOT NULL,
time_fifteendate NULL DEFAULT '19990108',
time_sixteen date NOT NULL DEFAULT '1999-01-08',
time_fifteen date NULL DEFAULT '19990108',
time_sixteen date NOT NULL DEFAULT '1999-01-08'
);
CREATE TABLE magicest (
id int primary key not null auto_increment,
aa json NULL,
bb json NOT NULL,
kk double precision NULL,