Francis Cao
3b792720af
fix semver error
2026-06-23 11:50:19 -07:00
Mike Cao
306ca4a435
Lint format files. Updated rng function.
2026-06-02 22:35:07 -07:00
Aitor Alonso and GitHub
3070189537
fix: fixes 4186
...
Some database providers, like supabase, provides two URLs to access the database. A main URL behind pgBouncer's for load balancing, and a direct separated URL to perform migrations (running DDL operations), as does not support
advisory locks or multi-statement DDL required by migrations.
Before v3.1.0, adding `directUrl` along with `url` to `prisma/schema.prisma` was enought. Now, I'm making a commit to use direct url when set
2026-04-20 21:58:54 +02:00
Mike Cao
d9f698ca42
Board editing.
2026-01-18 04:20:36 -08:00
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
592f7c0ae7
Added check for REDIS_URL. Closes #3677 .
2025-11-10 21:08:55 -08:00
Mike Cao
0d19e9a247
Fixed outputs.
2025-09-01 16:17:55 -07:00
Mike Cao
eabdd18604
Updated Prisma build.
2025-08-15 12:29:33 -07:00
Mike Cao
88639dfe83
New schema for pixels and links.
2025-08-13 20:27:54 -07:00
Mike Cao
bf6c9395c6
Revert Prisma build.
2025-07-12 15:18:01 -07:00
Mike Cao
2a8c707519
Updated db build again.
2025-07-12 14:08:15 -07:00
Mike Cao
2dbe80b7ca
Updated db build.
2025-07-12 13:56:45 -07:00
Mike Cao
fd7dddb43a
Fixed check-db for new Prisma adapter.
2025-06-07 00:27:22 -07:00
Mike Cao
63e0873b5d
Use generated prisma client.
2025-05-01 04:24:56 -07:00
Mike Cao
4e37e10b6d
Switched to type: module.
2025-04-29 14:36:52 -07:00
Mike Cao
c969603001
Converted global to globalThis.
2025-04-28 23:05:18 -07:00
Mike Cao
886b7e9e56
Revert check-db.
2025-04-28 21:27:26 -07:00
Mike Cao
be1b2fc272
Merge dev.
2025-04-28 20:09:58 -07:00
Mike Cao
9a87442870
Added SKIP_DB_MIGRATION var.
2025-02-28 21:04:53 -08:00
Ivan Gnusarkov
4c88a97698
added error message when db connection check fails
2024-06-18 14:10:35 +07:00
Francis Cao
0e0788b0a1
Fix v1 check error showing in postgres logs
2023-09-06 11:34:12 -07:00
Maxime-J
ac0efb29aa
Cleanup check-db
2023-04-27 13:38:07 +00:00
Francis Cao
16ece9ad64
Merge branch 'dev' of https://github.com/umami-software/umami into dev
2023-04-18 12:45:08 -07:00
Francis Cao
e8ca23c390
update mysql min versino to 5.7
2023-04-18 11:27:55 -07:00
Duarte Ferreira
94df42a306
fix version sql on check_db.js
2023-04-18 15:17:34 +01:00
Francis Cao
b7d64a91bd
fix check-db workflow
2023-04-14 10:24:48 -07:00
Francis Cao
5bd8608918
fix checkDatabaseVersion message typo
2023-01-23 10:06:52 -08:00
Francis Cao
7c0db0633f
update check-db, add pgcrypto extension if not exists on init migration
2023-01-20 14:21:11 -08:00
Brian Cao
17041efaae
use uuid
2022-10-31 23:42:37 -07:00
Brian Cao
a2ce1d833d
update check-db
2022-10-03 11:14:19 -07:00
Mike Cao
8234b4264c
Skip database check during CI.
2022-08-25 00:49:47 -07:00
Brian Cao
b426bbd812
add console log. look for 01 last applied
2022-08-10 00:01:00 -07:00
Mike Cao
7ae457669b
Fix event table.
2022-08-05 13:07:20 -07:00
Brian Cao
c7476aa59e
add deploy if missing migrations. add logic to hand 01_init
2022-07-26 11:01:43 -07:00
Mike Cao
e0144398e2
Clean-up.
2022-06-27 23:08:58 -07:00
Mike Cao
9aa3946ed4
Fix check criteria.
2022-06-27 23:00:14 -07:00
Mike Cao
eda40d2336
Updated migration process.
2022-06-27 22:09:47 -07:00
Mike Cao
6541ba1ab4
Update docker build.
2022-06-27 10:34:03 -07:00
Mike Cao
89fb62a50a
Updated to prisma 3.15.2. Updated check-db script.
2022-06-22 12:12:22 -07:00
Mike Cao
ac3017b2e4
Added database check.
2022-06-22 01:50:33 -07:00
Mike Cao
3122bab419
Refactor migrations.
2022-06-19 00:07:01 -07:00