Database server does not connect

Good afternoon, I have already made all the connections with the postgreSQL database server but when I am using the website it tells me no such table.
No description
P
Percy43d ago
Project ID: a9fc5e35-67d8-4b92-976b-89746f62441f
J
Joa743d ago
a9fc5e35-67d8-4b92-976b-89746f62441f
B
Brody43d ago
may I ask what the screenshot of the failed build logs has to do with database tables
J
Joa743d ago
I thought the error was in the database because of the message "OperationalError at /CrearPoster/ no such table: blog_content" So I don't understand the problem, how can I solve it?
B
Brody43d ago
do you think you could answer my question first?
J
Joa743d ago
yes with pleasure
B
Brody43d ago
^
J
Joa743d ago
I don't exactly know what causes the failed build logs since the requirements.txt is updated
B
Brody43d ago
okay but what does it have to do with database tables
J
Joa743d ago
I thought it was the database table because that error was told to me on the website. But the table in the database does appear in the data section. That's the reason I'm confused.
B
Brody43d ago
again, what does the requirements.txt have to do with database tables
J
Joa743d ago
I thought that because of the packages I am using such as dj-database-url, psycopg2, python-dotenv
B
Brody43d ago
are you running migrations
J
Joa743d ago
yes I did python manage.py migrate
B
Brody43d ago
where are you running that and how
J
Joa743d ago
also create a service variable DATABASE_URL
B
Brody43d ago
^
J
Joa743d ago
I ran it in visual studio, with the database entered as a String after doing the migrations, I changed it for an environment variable (the same error came out in both ways) the two times I changed I did git push origin main
B
Brody43d ago
you should run the migration with railway run railway run python manage.py migrate
J
Joa743d ago
Where should I write and how please?
B
Brody43d ago
in your local terminal in your project
J
Joa743d ago
"railway run python manage.py migrate" no exist I already did it python manage.py migrate
B
Brody43d ago
have you installed the cli?
J
Joa743d ago
no
B
Brody43d ago
well theres your issue
J
Joa743d ago
That's good, what would the command be like?
J
Joa741d ago
my problem was using packages to connect to the database
Want results from more Discord servers?
Add your server
More Posts
Deploy logs stopped appearing after a manual redeployHi, I have a project running several services. Deploy logs for one of the services randomly stopped ENOTFOUND redis.railway.internalFirst time using railway. I'm on team plan which says it supports private networking. I have a simplError: libuuid.so.1: cannot open shared object file: No such file or directoryGetting this error with puppeteer on Railway. ``` node:internal/modules/cjs/loader:1239 return pro"Error: connection already closed."I keep getting this error message when I attempt to update a user in my PostgreSQL database. I do noUnable to update Variables in App. (First Update after Migration)Hey Guys, my App tries to connect to the old containers of my postgres and redis. I checked the variImage Storagehello everyone, can I use Postgresql to store the images which my users upload in django-project?Setup Cloudflare Proxy1. Clicked "custom domain". 2. Railway pops up a CNAME for me to add to Cloudflare. 3. Add CNAME recDirectus: impossible to update or to run the old versionProject ID : 9be34f5b-fa35-49c1-83c5-f0fbd245db9b Template : https://github.com/kadumedim/directus-sCSV files in storage/app/data/csv not accessible?Hello, I've setup a laravel api on railway. I have a seeder that tries to load csv files from the I have not touched my project in several weeks but at midnight railway reverted to a very old versioI'm very confused it looks like my project was deployed last night, although I have not touched it iI can't add DNS from GoDaddy to RailwayThey recommend me to change the server name...Unable to connect database after payentHello, i just pay for the month, now i'm unable to connect to the database. please help1,2GB RAM usage in React APPDo you know if it's normal this size of ram in a frontend created with react and typescript?Shopify proxy and HTTP/1.0Hello, I need help from members using Railway to host a Shopify app. I ran into this problem where Is it possible to change the default config of a Mysql Container?By default the container uses up a minimum of 500mb of ram, I found a stack overflow post on how to Cannot link, login nor logout with cli>railway logout 🚨 Response not successful status=404 >railway login 🚨 Response not successful staLost 2FA code for my accountI have lost my 2FA authenticator codes and I would like to reset my accountHow does it work the HD allocationI need 360gb to use how much does it cost?how to restore postgres db from dumb?i was given my db archives because my db was deleted due to migration. I am trying to restore the dbActivate SSL on my custom domainHello, I bought the domain apocolinks.com at DreamHost.com, this domain already has an active SSL ce