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

Unified Diff: go/database/setup_test_db.sql

Issue 813443002: Overhaul database package (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Move README 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/setup_test_db ('k') | go/database/testutil/testutil.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/database/setup_test_db.sql
diff --git a/go/database/setup_test_db.sql b/go/database/setup_test_db.sql
new file mode 100644
index 0000000000000000000000000000000000000000..8aa3b340ee3d11a56f582159f8d0c39f06c37646
--- /dev/null
+++ b/go/database/setup_test_db.sql
@@ -0,0 +1,3 @@
+# SQL for setting up the test database and user.
+CREATE DATABASE IF NOT EXISTS sk_testing;
+GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON sk_testing.* TO 'test_user'@'localhost';
tfarina 2014/12/17 18:49:31 I have something in my playground repo: https://gi
tfarina 2014/12/17 18:49:31 where is the command for creating test_user?
borenet 2014/12/17 21:02:21 It's created automatically in the GRANT command if
« no previous file with comments | « go/database/setup_test_db ('k') | go/database/testutil/testutil.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698