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

Double quotes in create table instead of backtick? #89

Open
fulviocanducci opened this issue Jul 7, 2022 · 1 comment
Open

Double quotes in create table instead of backtick? #89

fulviocanducci opened this issue Jul 7, 2022 · 1 comment

Comments

@fulviocanducci
Copy link

Example:

CREATE TABLE "backup" (
  "id" varchar(36) NOT NULL,
  "user_id" int NOT NULL,
  "file_name_sql" varchar(19) NOT NULL,
  "file_name_zip" varchar(19) NOT NULL,
  "created_at" datetime NOT NULL,
  "deleted_at" datetime DEFAULT NULL,
  PRIMARY KEY ("id"),
  UNIQUE KEY "id_UNIQUE" ("id")
);

I'm backing up on a server at DigitalOcean and I had this surprise where it should be "" in double quotes, is there a way to configure this to always be backtick ""?

@adriancs2
Copy link
Member

adriancs2 commented Jul 7, 2022

You can have a look at the article:
https://github.com/MySqlBackupNET/MySqlBackup.Net/wiki/Table-or-Column's-name-wrapped-with-double-quotes-in-stead-of-single-quote

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

No branches or pull requests

2 participants