Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5871613

Browse files
committedJul 28, 2019
Potential fix for table naming issue
1 parent 746cbdd commit 5871613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/models/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fs.readdirSync(__dirname).forEach((file) => { // eslint-disable-line no-sync
2828
if (file !== 'index.js') {
2929
const filename = file.split('.')[0];
3030
const schema = require(Path.join(__dirname, filename)); // eslint-disable-line global-require
31-
const model = dynamoose.model(filename, schema);
31+
const model = dynamoose.model('Topcoder_X.' + filename, schema);
3232
models[filename] = model;
3333
}
3434
});

0 commit comments

Comments
 (0)
This repository has been archived.