blob: 1eeb946944138224c58c5e249565f02c24c5c3e1 [file] [log] [blame]
#!/usr/bin/env -S bash -e
# Copyright 2019 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Script for creating a new database locally.
source devtools/lib.sh || { echo "Are you at repo root?"; exit 1; }
go run devtools/cmd/db/main.go create
./devtools/migrate_db.sh up