#!/bin/bash

couchbase-cli eventing-function-setup -c localhost:9000 -u Administrator -p asdasd --delete --name eventing_func --bucket default --scope _default
couchbase-cli eventing-function-setup -c localhost:9000 -u Administrator -p asdasd --delete --name eventing_func_legacy

couchbase-cli bucket-flush -c localhost:9000 -u Administrator -p asdasd --bucket default
couchbase-cli bucket-flush -c localhost:9000 -u Administrator -p asdasd --bucket meta