Commit 8b150196 authored by Mo Firouz's avatar Mo Firouz Committed by Andrei Mihu
Browse files

Rename _build/migration to build/migrate

parent 4c819fd2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
nakama

# *.pb.go
build/*
!dashboard/build
data/*
.GITHUB_TOKEN

build/db_reset

0 → 100644
+21 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

# Copyright 2018 The Nakama Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -o errexit
set -o nounset
set -o pipefail

cockroach sql -d="nakama" --insecure --execute="DROP DATABASE nakama CASCADE"

build/db_start

0 → 100644
+21 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

# Copyright 2018 The Nakama Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -o errexit
set -o nounset
set -o pipefail

cockroach start --background --insecure --store=attrs=ssd,path=/tmp/cockroach
+0 −0

File moved.

Loading