Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
feat(setup): Change local database name
Browse files Browse the repository at this point in the history
issue #16
  • Loading branch information
ianpogi5 committed Oct 28, 2019
1 parent ba826d0 commit 2e9e94e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/kdc-cms-admin/cypress/plugins/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process.env.DDB_TABLE = 'kdc-cms-database-local';
process.env.DDB_TABLE = 'database-local.localhost';
process.env.IS_OFFLINE = true;

// eslint-disable-next-line import/no-extraneous-dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/kdc-cms-setup/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ try {
process.env.DDB_TABLE = `database-${stage}.${config.ROOT_DOMAIN}`;
} else {
process.env.IS_OFFLINE = true;
process.env.DDB_TABLE = "kdc-cms-database-local";
process.env.DDB_TABLE = "database-local.localhost";
}

const user = yaml.safeLoad(fs.readFileSync(userFile, "utf8"));
Expand Down
2 changes: 1 addition & 1 deletion resources/database/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"TableName": "kdc-cms-database-local",
"TableName": "database-local.localhost",
"AttributeDefinitions": [
{
"AttributeName": "pk",
Expand Down

0 comments on commit 2e9e94e

Please sign in to comment.