Skip to content

Commit

Permalink
fix: less aggressive syncs
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranzav committed Jul 28, 2023
1 parent cb3b5bc commit 8bd6b49
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const setup = async () => {
}

const setupEach = async () => {
sequelize = await sequelize.sync({ force: true })
sequelize = await sequelize.sync()
}
const teardownEach = async () => {
// Clear out query fee model tables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const setup = async () => {
}

const setupEach = async () => {
sequelize = await sequelize.sync({ force: true })
sequelize = await sequelize.sync()
}
const teardownEach = async () => {
// Clear out query fee model tables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const teardownAll = async () => {
}

const setupEach = async () => {
await sequelize.sync({ force: true })
await sequelize.sync()
}
const teardownEach = async () => {
// Clear out indexer management models
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const teardownAll = async () => {
}

const setupEach = async () => {
await sequelize.sync({ force: true })
await sequelize.sync()
}
const teardownEach = async () => {
// Clear out indexer management models
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const setupAll = async () => {

const setupEach = async () => {
logger.info('Sync DB')
await sequelize.sync({ force: true })
await sequelize.sync()
logger.info('Synced DB')
}
const teardownEach = async () => {
Expand Down

0 comments on commit 8bd6b49

Please sign in to comment.