Manually reorder event types (#1142)

* Add event type reordering

* Add migration for position field

* hack on a hack

* can edit

* fix ordering

* Remove console.log

Co-authored-by: Alex Johansson <[email protected]>

Co-authored-by: KATT <[email protected]>
This commit is contained in:
Bailey PumfleetandAlex Johansson authored and GitHub committed 2021-11-15 12:25:49 +00:00
1 parent 6fa980f801
commit 6b171a6f87
6 files changed
+184 -7

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ model EventType {
title String
slug String
description String?
position Int @default(0)
locations Json?
length Int
hidden Boolean @default(false)