fix: add machines indeces and use gorm take instead of first

This commit is contained in:
Johan Siebens
2022-12-27 11:14:53 +01:00
parent 660c684a13
commit 9f7263abd5
10 changed files with 45 additions and 12 deletions
@@ -15,6 +15,7 @@ func Migrations() []*gormigrate.Migration {
m202210080700_ssh_action_request(),
m202211031100_add_authorized_column(),
m202212201300_add_user_id_column(),
m202212270800_machine_indeces(),
}
return migrations
}