stiba
Explore posts from serversDTDrizzle Team
•Created by stiba on 6/26/2024 in #help
Migrations complain about missing relations
I get the following error when running migrations:
The weird thing is that the table gets created in the drizzle schema, so when the migration.sql file references
"public.users"
it fails. The public schema is also only mentioned once in the migration file.
If I remove the "public".
infront of "users"
the migration runs fine, but every table is created in the drizzle schema. Am I doing something wrong here?2 replies
Infinite scrolling solid-start
I'm trying to create something like an infinite scroll.
The data I'm fetching requires api-keys etc, so it has to be done server side.
The initial data fetches fine, since it's being fetched on the server, but when I try to fetch more, it tries to call my api class from the browser, and the api-key are undefined (naturally).
How can I make my
fetchMore
function only run on the server? Do I need to create an api route ?4 replies
DTDrizzle Team
•Created by stiba on 3/18/2023 in #help
Applying migrations with drizzle-orm/pg-core
How would I apply all the migrations that have not yet been applied?
I couldn't find any information in the docs
4 replies
❔ Deploying a dotnet core application with Docker
I'm mostly used to building NodeJS applications where during development, I keep all "secrets" and appsettings in a
.env
file that gets loaded.
When deploying to production, I just have to make sure that all the environment variables are set, and the application will work.
Now, building a dotnet application I feel like this stuff is spread out a bit, and I don't know where I should put this stuff and how I should do it in production.
For example: my Auth clientId/clientSecret is added by doing dotnet user-secrets set ....
, but my connectionString for my postgres database is in appsettings.json
. I've tried googling this but I haven't had any luck finding any good answers.3 replies
solid-js reactivity eslint with functions
I'm getting the following warning:
This function should be passed to a tracked scope (like createEffect) or an event handler because it contains reactivity.eslintsolid/reactivity
What am I doing wrong here? I tried looking at the eslint-plugin docs but I'm not getting any wiser
6 replies