Commit Graph

16 Commits

Author SHA1 Message Date
Ying Li 4eaf6dc15c Add migrate to the sample mysql container
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 16:50:25 -07:00
Ying Li 87ec8a25bf Use NULL DEFAULT NULL instead of NULL for timestamps
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 16:03:56 -07:00
Ying Li e8528ec391 Attempt to match the model exactly up with the initial sql + the
migrate sql.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 15:44:00 -07:00
David Lawrence 0940417324 update initial.sql to make schema consistent with staging/prod
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 11:17:27 -07:00
David Lawrence a095f6ff84 timestamp columns should just be NULL, not DFAULT NULL
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 10:57:12 -07:00
David Lawrence 0661a87abb gorm uses timestamp to represent time.Time, not datetime
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-28 18:45:16 -07:00
Diogo Monica a452ac4eb9 Changing SQL unique index
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-27 09:46:14 -07:00
Diogo Monica a2472a5a72 Addressed comments, changed to PBES2, added key rotation
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-26 09:18:08 -07:00
Diogo Monica e568babc0a Added one more test, and fixed delete bug
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-24 06:47:04 -07:00
Diogo Monica 37bced3efa Changed signer to use DB, added initial SQL for private_keys
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-24 05:49:02 -07:00
David Lawrence 7db33797a8 fixing timestamp errors on list
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-20 10:35:40 -07:00
David Lawrence bfdb5f72b0 refactoring database schema out into its own file for easier use outside of containers
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-13 14:41:51 -07:00
David Lawrence 06f2846561 fixing trailing comma in mysql
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-05 20:04:21 -07:00
David Lawrence 89379a728c adding timestamping and some general cleanup
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-03 15:38:09 -07:00
David Lawrence 908378c5ca Didn't update mysql bootstrap when I updated the go mysql code 2015-06-23 21:37:02 -07:00
Nathan McCauley e46a95227c rename vetinari to notary
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-06-19 11:01:19 -07:00