Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

[wip] Add size definitions to all model definitions #498

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
58ebbdf
move things to stdlib
wild-endeavor Dec 3, 2022
49a2ec2
check mysql first since postgres has a default
wild-endeavor Dec 5, 2022
66d556a
lowered the column sizes enough to get the node execution event table to
wild-endeavor Dec 6, 2022
2140721
merge master
eapolinario Jan 12, 2023
a160b2e
WIP - mysql support
eapolinario Mar 13, 2023
8aea307
merge master
wild-endeavor Mar 13, 2023
1fe4dd2
add new migrations
wild-endeavor Mar 17, 2023
a68cc1c
undo all the size deletions
wild-endeavor Mar 17, 2023
e6dbda9
Revert "undo all the size deletions"
eapolinario Mar 23, 2023
d6639ab
Merge remote-tracking branch 'origin' into mysql
eapolinario Mar 23, 2023
b83482a
Add Fixup migrations
eapolinario Mar 22, 2023
0c9d2b4
Reapply migration changes.
eapolinario Mar 23, 2023
8808346
Remove old cruft
eapolinario Mar 24, 2023
4a1f80a
Remove gorm changes from migration_models.go
eapolinario Mar 24, 2023
7a43adb
One more pass in setting size constraints
eapolinario Mar 24, 2023
31f0bff
Revert "One more pass in setting size constraints"
eapolinario Mar 24, 2023
b089e27
Revert "Remove gorm changes from migration_models.go"
eapolinario Mar 24, 2023
39ee118
Revert "Remove old cruft"
eapolinario Mar 24, 2023
c0c25a0
Revert "Reapply migration changes."
eapolinario Mar 24, 2023
72b2a85
Remove size statements from models
eapolinario Mar 29, 2023
59d7b36
Bring back commented code and minor size changes
eapolinario Mar 30, 2023
8901ea2
Special-case mysql in the case of the `task_executions` table.
eapolinario Mar 30, 2023
9029ec1
Remove size statements from `migration_models.go` file
eapolinario Mar 30, 2023
93864e6
Drop remaining size statements from `migration_models.go`
eapolinario Mar 30, 2023
4daf1fe
Remove unnecessary gorm statements from `base_model.go`
eapolinario Mar 30, 2023
7252d4b
Drop unnecessary changes.
eapolinario Mar 30, 2023
180715c
Remove unnecessary changes
eapolinario Mar 30, 2023
37827b8
Bring `alterTableColumnType` back
eapolinario Mar 30, 2023
fe80833
Move comment to top of fixup migrations
eapolinario Mar 30, 2023
e31ccd8
Add separate index to `signals` table
eapolinario Mar 30, 2023
8effaf7
Fix one off errors.
eapolinario Mar 30, 2023
6e34716
not null couple columns
wild-endeavor Apr 4, 2023
bcc2b9d
partial treatment of stuff
wild-endeavor Apr 4, 2023
5ccb295
add manual indices for resources and task executions
wild-endeavor Apr 4, 2023
6cae700
Set prefix length in `primary_alt` index on `task_executions` table
eapolinario Apr 4, 2023
e7361cc
Separate creation of `primary_alt` indexes into their own migrations.
eapolinario Apr 4, 2023
ef4f5e7
use latest stdlib branch
wild-endeavor Apr 18, 2023
29c702c
propeller to 1.1.83
wild-endeavor Apr 18, 2023
e8a0349
==
wild-endeavor Apr 18, 2023
ce1773a
Add statements to change the type of primary keys in the case of post…
eapolinario Apr 19, 2023
2cb96ab
Merge master
eapolinario Apr 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ require (
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/evanphx/json-patch v4.12.0+incompatible
github.com/flyteorg/flyteidl v1.3.14
github.com/flyteorg/flyteplugins v1.0.40
github.com/flyteorg/flytepropeller v1.1.70
github.com/flyteorg/flytestdlib v1.0.15
github.com/flyteorg/flyteplugins v1.0.49
github.com/flyteorg/flytepropeller v1.1.83
github.com/flyteorg/flytestdlib v1.0.17-0.20230320195919-90331d171e2a
github.com/flyteorg/stow v0.3.6
github.com/ghodss/yaml v1.0.0
github.com/go-gormigrate/gormigrate/v2 v2.0.0
Expand Down Expand Up @@ -209,3 +209,5 @@ require (
)

replace github.com/robfig/cron/v3 => github.com/unionai/cron/v3 v3.0.2-0.20210825070134-bfc34418fe84

//replace github.com/flyteorg/flytestdlib => github.com/flyteorg/flytestdlib@mysql-support
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8S
github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/flyteorg/flyteidl v1.3.14 h1:o5M0g/r6pXTPu5PEurbYxbQmuOu3hqqsaI2M6uvK0N8=
github.com/flyteorg/flyteidl v1.3.14/go.mod h1:Pkt2skI1LiHs/2ZoekBnyPhuGOFMiuul6HHcKGZBsbM=
github.com/flyteorg/flyteplugins v1.0.40 h1:RTsYingqmqr13qBbi4CB2ArXDHNHUOkAF+HTLJQiQ/s=
github.com/flyteorg/flyteplugins v1.0.40/go.mod h1:qyUPqVspLcLGJpKxVwHDWf+kBpOGuItOxCaF6zAmDio=
github.com/flyteorg/flytepropeller v1.1.70 h1:/d1qqz13rdVADM85ST70eerAdBstJJz9UUB/mNSZi0w=
github.com/flyteorg/flytepropeller v1.1.70/go.mod h1:MezHUJmgPzm4Pu8nIy6LLiEkxNA6buTQ7hInSqCViTY=
github.com/flyteorg/flytestdlib v1.0.15 h1:kv9jDQmytbE84caY+pkZN8trJU2ouSAmESzpTEhfTt0=
github.com/flyteorg/flytestdlib v1.0.15/go.mod h1:ghw/cjY0sEWIIbyCtcJnL/Gt7ZS7gf9SUi0CCPhbz3s=
github.com/flyteorg/flyteplugins v1.0.49 h1:lUmT4kqYamkJY2tO6nCWRCnVv2M2QNLIap5bFYAol7s=
github.com/flyteorg/flyteplugins v1.0.49/go.mod h1:ztsonku5fKwyxcIg1k69PTiBVjRI6d3nK5DnC+iwx08=
github.com/flyteorg/flytepropeller v1.1.83 h1:p8pGSPSgjoU1UV23qXtJdB/cmFS92ATHTg1qx3FDkeI=
github.com/flyteorg/flytepropeller v1.1.83/go.mod h1:WFIzp4MhTLpco4YLXBqcaz0qeEchnstwOWiXN15AwkI=
github.com/flyteorg/flytestdlib v1.0.17-0.20230320195919-90331d171e2a h1:WQTudPI+ysEkMp648YDm8lbrVFh0sE5K5zuwjFNB37Y=
github.com/flyteorg/flytestdlib v1.0.17-0.20230320195919-90331d171e2a/go.mod h1:TcKdywJD/EokpPaTeRyn0rY0ErXKPzSsg0JKd4U0xDg=
github.com/flyteorg/stow v0.3.6 h1:jt50ciM14qhKBaIrB+ppXXY+SXB59FNREFgTJqCyqIk=
github.com/flyteorg/stow v0.3.6/go.mod h1:5dfBitPM004dwaZdoVylVjxFT4GWAgI0ghAndhNUzCo=
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
Expand Down
Loading