Madster
Madster
Explore posts from servers
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
Wasn't a script issue, I solved it. My config.ts for sequelize was set up in a way that if it fails connection, to default back to development NODE_ENV. It was failing because it was not recognizing postgres.railway.internal for the host.
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
Is there a shell option on the dashboard?
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
script works perfectly fine on local postgres server
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
Great question. I only have one database on railway. So why is it telling me that it succeeded in migration for seeders?
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
No data within pgadmin either
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
No description
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
I can log into pgAdmin4 to confirm, but im almost positive that the data isnt there, as a logged in user creating a tenant fails because on my backend, its trying to apply global roles to the user during tenant creation.
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
What do you mean? When my backend service spins up, and is connected to the postgres instance I made, it creates all the required tables I need via sequelize
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
Im on railway dashboard, the tables are empty
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
Command I am running:
railway run npx sequelize-cli db:seed:all --seeders-path src/seeders --config src/config/config.js
railway run npx sequelize-cli db:seed:all --seeders-path src/seeders --config src/config/config.js
23 replies
RRailway
Created by Madster on 10/5/2024 in #✋|help
CLI is not pushing seeders data on railway
f3dbe28d-d8b5-4938-9809-d98b1e760b4b
23 replies
RRailway
Created by Madster on 10/4/2024 in #✋|help
Payment processing issue
N/A
4 replies