Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: go/database/setup_test_db

Issue 813443002: Overhaul database package (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Add script for setting up test db Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « go/database/database.go ('k') | go/database/setup_test_db.sql » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/database/setup_test_db
diff --git a/go/database/setup_test_db b/go/database/setup_test_db
new file mode 100755
index 0000000000000000000000000000000000000000..20c27795699c9061ae76eeb47d7bb43cff50fe35
--- /dev/null
+++ b/go/database/setup_test_db
@@ -0,0 +1,4 @@
+#!/bin/bash
borenet 2014/12/16 20:24:18 Should this run automatically?
stephana 2014/12/17 13:13:38 IMO it's fine to run it manually, but there needs
borenet 2014/12/17 14:55:13 Added a README. I'm not sure how to make the erro
+# Set up the test database and user.
+
+mysql -u root -p < setup_test_db.sql
« no previous file with comments | « go/database/database.go ('k') | go/database/setup_test_db.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698