Christoph Brand
04ec44dcef
fix: failing migration
...
Fix an issue in migration which results in the following error message
due to wrong and or precedence configuration:
```
panic: runtime error: index out of range [0] with length 0
```
2023-07-20 18:44:26 +02:00
Ferdinand Mütsch
e495468be2
chore: add support for astro files (see #469 )
2023-02-19 20:14:22 +01:00
Ferdinand Mütsch
3512db5ca4
fix: track subscription renewal date
2023-02-19 19:37:03 +01:00
Ferdinand Mütsch
bafbc34706
refactor: minor code refactorings
2022-12-29 11:55:09 +01:00
Ferdinand Mütsch
6e5bc38e5e
fix: index migration for sqlite
2022-10-28 10:32:47 +02:00
Ferdinand Mütsch
9424c49760
fix: composite index on heartbeats table
2022-10-28 09:54:11 +02:00
Ferdinand Mütsch
8a21be4306
fix: ignore rank column in migrations
2022-10-16 18:59:00 +02:00
Ferdinand Mütsch
33d259592c
chore: improve summary id fixing migration (see #416 )
2022-10-09 10:16:18 +02:00
Ferdinand Mütsch
94377a8dea
fix: summary items id type (see #416 )
2022-10-02 11:31:32 +02:00
Ferdinand Mütsch
a2ac049578
fix: heartbeat entity character length ( resolve #415 )
2022-09-30 15:28:11 +02:00
Ferdinand Mütsch
977420c68d
fix: failing heartbeats index auto-migration on sqlite ( resolve #346 )
2022-04-03 18:03:09 +02:00
Ferdinand Mütsch
ec70d024fa
fix: remove user property of diagnostics as sent without auth
2022-03-19 09:27:13 +01:00
Ferdinand Mütsch
4cea50b5c8
chore: add user project index on heartbeats table
2022-03-19 08:57:33 +01:00
Ferdinand Mütsch
91b4cb2c13
fix: explicit milliseconds precision of timestamp columns
2022-03-18 13:48:28 +01:00
Ferdinand Mütsch
b763c4acc6
fix(perf): speed up summary retrieval of all time interval ( resolve #336 )
2022-03-17 11:08:40 +01:00
Ferdinand Mütsch
d1bd7b96b8
fix: hotfix for #337 ( resolve #33 )
2022-03-16 18:29:19 +01:00
Ferdinand Mütsch
8c65da9031
chore: remove entity index again
...
chore: add migration note
2022-03-13 09:42:51 +01:00
Steven Tang
6d762f5fd6
ref: remove unnecessary unicode characters
2022-02-18 19:52:55 +11:00
Ferdinand Mütsch
ec236909c9
chore: add migration for heartbeats count
2022-01-02 12:02:12 +01:00
Ferdinand Mütsch
821ae94c1e
fix: auto increment in bigint migration
2021-12-15 13:17:07 +01:00
Ferdinand Mütsch
259f711f2d
fix: migrate id column type to bigint ( resolve #281 )
2021-12-15 10:50:16 +01:00
Ferdinand Mütsch
391cc1e5b4
chore: fix syntax for postgres
2021-08-06 17:17:06 +02:00
Ferdinand Mütsch
0af5fab75f
refactor: resolve project labels at runtime ( resolve #227 )
2021-08-06 16:36:56 +02:00
Ferdinand Mütsch
7ab9c45f4f
fix: table drop in migration
2021-04-12 22:58:40 +02:00
Steven Tang
6256c8e10a
ref: embed files, bump to go 1.16 ( #167 )
...
* ref: embed portion of files
* fix: readd pkger
* ref: embed version.txt
* fix: wrong mail template import path
* refactor: get rid of sql-migrate
refactor: get rid of pkger in favor of go embed (resolve #164 )
* chore: remove unused var [ci-skip]
Co-authored-by: Ferdinand Mütsch <ferdinand@muetsch.io>
2021-04-11 10:42:43 +00:00
Ferdinand Mütsch
16af17fc37
chore: save heartbeats created date
2021-02-21 12:02:19 +01:00
Ferdinand Mütsch
56800be8e8
chore: change info message in migration ( resolve #128 )
2021-02-16 17:18:56 +01:00
Steven Tang
c149766ecc
fix: drop_badges_column migration for sqlite
2021-02-16 22:07:41 +11:00
Ferdinand Mütsch
708863fd33
fix: broken migration on postgres ( resolve #127 )
2021-02-14 16:02:05 +01:00
Ferdinand Mütsch
e2f046a83d
fix: add migration for newly introduced has data field
2021-02-13 13:04:47 +01:00
Ferdinand Mütsch
fca12f522f
feat: option to publicly share stats data ( resolve #36 )
2021-02-06 23:02:35 +01:00
Ferdinand Mütsch
b6812ddc3a
refactor: migrations structure
...
fix: cascade for alias user foreign key constraint
2021-02-02 21:50:43 +01:00
Ferdinand Mütsch
617d9ad7e4
refactor: include logging framework ( resolve #92 )
2021-01-30 11:17:37 +01:00
Ferdinand Mütsch
ad8168801c
test: add first few unit tests
2020-11-08 12:46:12 +01:00
Ferdinand Mütsch
78874566a4
chore: introduce constants for db dialects
...
chore: go fmt
2020-11-06 17:20:26 +01:00
Ferdinand Mütsch
e269b37b0e
feat: add ability to regenerate summaries
...
fix: database cascade settings
chore: debug log mode for gorm queries is back
2020-11-06 17:09:41 +01:00
Ferdinand Mütsch
b4d2ee7d16
fix: not creating language mappings table due to broken type definition in users model ( resolve #69 )
...
chore: introduce foreign key constraints
2020-11-03 10:26:32 +01:00
Ferdinand Mütsch
8efc3854ab
refactor: migrate to latest gorm version
...
refactor: language mappings implementation
2020-11-01 20:14:10 +01:00
Roch D'Amour
fdf2289f8e
MVP for custom rules support
2020-10-25 21:51:06 -04:00
Ferdinand Mütsch
a4c344aaa1
chore: minor code restyling
2020-10-16 16:11:14 +02:00
Ferdinand Mütsch
6e2f3e6731
fix: attempt to fix invalid fixture query for postgres ( fix #52 )
2020-09-12 16:32:43 +02:00
Ferdinand Mütsch
d60dddb550
feat: implement badges endpoint and sharing functionality
2020-09-12 16:09:23 +02:00
Ferdinand Mütsch
50b7a9ec3d
fix: column definition in migration
2020-08-30 01:24:27 +02:00
Ferdinand Mütsch
08a83af8da
feat: extract machine name from heartbeat requests ( resolve #47 )
2020-08-29 21:20:23 +02:00
Ferdinand Mütsch
c1e6a3e265
feat: persist user creation date ( resolve #31 )
2020-05-30 22:19:05 +02:00
Ferdinand Mütsch
3c2dc78c93
refactor: refactor migrations and add fixtures
...
feat: introduce key-value store
feat: imprint page (resolve #23 )
chore: remove default user
chore: remove packr
2020-05-30 20:41:27 +02:00
William Flores
7a339d77d3
style: keep small column definitions together
2020-04-25 13:52:43 -07:00
William Flores
edae516571
feat: add support for sqlite3
2020-04-19 16:58:54 -07:00