Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect dump file: missing space before database name #393

Closed
Hubbitus opened this issue Feb 26, 2023 · 2 comments · Fixed by #394
Closed

Incorrect dump file: missing space before database name #393

Hubbitus opened this issue Feb 26, 2023 · 2 comments · Fixed by #394
Labels

Comments

@Hubbitus
Copy link

Hubbitus commented Feb 26, 2023

Description

$ podman run --rm -it --name dbmate -v .:/host:z --workdir /host --network=host ghcr.io/amacneil/dbmate:1.16.2 -u clickhouse://default@127.0.0.1:8123/datamart dump
$ head -7 db/schema.sql 

--
-- Database schema
--

CREATE DATABASE IF NOT EXISTSdatamart;

So, CREATE DATABASE IF NOT EXISTSdatamart; should have space after IF NOT EXISTS clause.

  • Version: 1.16.2
  • Database: Clickhouse
  • Operating System: Fedora Linux (run official docker container)
@Hubbitus
Copy link
Author

Thank you very much.
When new tag and docker images will be available?

@amacneil
Copy link
Owner

amacneil commented Feb 27, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants