cds-dbm
cds-dbm copied to clipboard
Error Deploy in another Schema
In package.json is possible deploy in another schema at change de config, but when it is generate build mta, the archive generated schema "default".
{
...
"cds": {
"migrations": {
"db": {
"schema": {
"default": "S4Q", // Here Change
"clone": "_cdsdbm_clone",
"reference": "_cdsdbm_ref"
},
"deploy": {
"tmpFile": "tmp/_autodeploy.json",
"undeployFile": "db/undeploy.json"
}
}
}
}
}
Hi @YoshiakiToma,
can you please improve the formatting for better readability.
This is my config JSON, sorry for I can't use block code of github. @gregorwolf
You can. Just use tripple backticks.
@gregorwolf Sorry, I send image wrong.
This is correct image, I tried change schema, but the tables were deploy in schema public.
When you see in archive package.json in folder gen/db, the config schema is public.
Hi, I have the same issue. I need to deploy my database on a different schema from "public". How I can achieve that?