fleet/server/datastore
Zachary Wasserman 35806f1442 Separate tables from data migrations (#745)
This PR separates the table migrations from the data population migrations. Table migrations run before data migrations.

Now, we have the ability to create the database tables without populating them with data. This can be useful for running "unit" tests against a MySQL store that doesn't have any pre-populated data. When performing real migrations, or for more "integration" style testing, the data migrations can also be executed.

Note there are some special cases that must be observed with these migrations, and the README is updated to reflect those.
2017-01-05 09:27:56 -08:00
..
inmem Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
internal/appstate Osquery options 365 (#657) 2016-12-29 12:32:28 -06:00
mysql Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
datastore_app_test.go App Settings - /admin/settings #363 (#590) 2016-12-20 15:54:30 -06:00
datastore_campaigns_test.go Moving query attributes from the query object to the pack-query relationship (#559) 2016-12-13 14:22:05 -08:00
datastore_hosts_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_invites_test.go consolidate delete operations in mysql store (#746) 2017-01-04 13:18:21 -05:00
datastore_labels_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_options_test.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00
datastore_packs_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_password_reset_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_queries_test.go consolidate delete operations in mysql store (#746) 2017-01-04 13:18:21 -05:00
datastore_scheduled_queries_test.go Return query and name after creating a scheduled query (#690) 2016-12-22 14:29:29 -05:00
datastore_test.go Host summary endpoint (#742) 2017-01-04 14:16:17 -07:00
datastore_users_test.go Datastore refactor (#439) 2016-11-16 21:47:49 +08:00
inmem_test.go Added built in labels (#526) 2016-11-26 02:08:22 +08:00
mysql_test.go Separate tables from data migrations (#745) 2017-01-05 09:27:56 -08:00