mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-22 02:20:29 +00:00
feat: versioned migrations (#26)
* enable atlas migrations * use embedded atlas migrations * chores * bad migration example * tidy * fix linter issues * reset migration state * sort slice before testing * move temp write logic to migrations package
This commit is contained in:
parent
343290a55a
commit
8ba954674e
14 changed files with 255 additions and 30 deletions
|
@ -1,3 +1,3 @@
|
|||
package ent
|
||||
|
||||
//go:generate go run -mod=mod entgo.io/ent/cmd/ent generate ./schema
|
||||
//go:generate go run -mod=mod entgo.io/ent/cmd/ent generate --feature sql/versioned-migration ./schema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue