Skip to content

Commit

Permalink
fixed migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
erenfn committed Jan 16, 2025
1 parent 3a8d84d commit b27e268
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 83 deletions.
8 changes: 4 additions & 4 deletions backend/.env
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# For development environment, the project is ready to run after cloning and installing the dependencies.
# Development database environment
DB_USERNAME=user123
DB_PASSWORD=password123
DB_NAME=onboarding_db
DB_HOST=db
DB_USERNAME=postgres
DB_PASSWORD=1234
DB_NAME=onboarding_db2
DB_HOST=localhost
DB_PORT=5432

EMAIL=bluewaveguidefox@gmail.com
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
}
}
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
}
},
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
}
},
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
type: Sequelize.INTEGER,
allowNull: false,
references: {
model: 'Users',
model: 'users',
key: 'id'
},
onUpdate: "CASCADE",
Expand Down
73 changes: 0 additions & 73 deletions backend/migrations/1.0-tours.js

This file was deleted.

0 comments on commit b27e268

Please sign in to comment.