Null
Null
Explore posts from servers
PPrisma
Created by Null on 7/18/2024 in #help-and-questions
Prisma Enum Mapping
No description
1 replies
NNuxt
Created by Null on 7/12/2024 in #❓・help
Hot Reloading (Docker + WSL + Bun + NuxtJS)
Hot reloading does not work with my setup. Windows 11 running docker desktop.
2 replies
DTDrizzle Team
Created by Null on 4/8/2024 in #help
Using drizzle in docker gives [i] No changes detected
Hello I have this drizzle.config.ts file, I tried running bun push but I get the [i] No changes detected prompt
import type {Config} from 'drizzle-kit';

export default {
out: "./drizzle",
schema: "./src/database/drizzle/schema.ts",
strict: true,
verbose: true,
driver: 'mysql2',
dbCredentials: {
host: process.env["MYSQL_HOST"]!,
user: process.env["MYSQL_USER"]!,
password: process.env["MYSQL_PASSWORD"]!,
database: process.env["MYSQL_DATABASE"]!,
},
} satisfies Config;
import type {Config} from 'drizzle-kit';

export default {
out: "./drizzle",
schema: "./src/database/drizzle/schema.ts",
strict: true,
verbose: true,
driver: 'mysql2',
dbCredentials: {
host: process.env["MYSQL_HOST"]!,
user: process.env["MYSQL_USER"]!,
password: process.env["MYSQL_PASSWORD"]!,
database: process.env["MYSQL_DATABASE"]!,
},
} satisfies Config;
root@abc596d3a4ba:/var/Bun# bun push
$ drizzle-kit push:mysql
drizzle-kit: v0.20.14
drizzle-orm: v0.30.4

No config path provided, using default path
Reading config file '/var/Bun/drizzle.config.ts'
Reading schema files:
/var/Bun/src/database/drizzle/schema.ts

[i] No changes detected
root@abc596d3a4ba:/var/Bun#
root@abc596d3a4ba:/var/Bun# bun push
$ drizzle-kit push:mysql
drizzle-kit: v0.20.14
drizzle-orm: v0.30.4

No config path provided, using default path
Reading config file '/var/Bun/drizzle.config.ts'
Reading schema files:
/var/Bun/src/database/drizzle/schema.ts

[i] No changes detected
root@abc596d3a4ba:/var/Bun#
I checked the path inside my image and it seems its correct
root@abc596d3a4ba:/var/Bun/src/database/drizzle# pwd
/var/Bun/src/database/drizzle
root@abc596d3a4ba:/var/Bun/src/database/drizzle# ls -la
total 44
drwxrwxrwx 1 root root 0 Apr 8 14:29 .
drwxrwxrwx 1 root root 0 Apr 8 14:29 ..
-rwxr-xr-x 1 root root 71 Apr 8 14:29 database.ts
-rwxr-xr-x 1 root root 44290 Apr 8 14:29 schema.ts
root@abc596d3a4ba:/var/Bun/src/database/drizzle#
root@abc596d3a4ba:/var/Bun/src/database/drizzle# pwd
/var/Bun/src/database/drizzle
root@abc596d3a4ba:/var/Bun/src/database/drizzle# ls -la
total 44
drwxrwxrwx 1 root root 0 Apr 8 14:29 .
drwxrwxrwx 1 root root 0 Apr 8 14:29 ..
-rwxr-xr-x 1 root root 71 Apr 8 14:29 database.ts
-rwxr-xr-x 1 root root 44290 Apr 8 14:29 schema.ts
root@abc596d3a4ba:/var/Bun/src/database/drizzle#
Any idea?
4 replies