Skip to content

Commit 08189f1

Browse files
committed
Clean up locations
1 parent 10bd7b3 commit 08189f1

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

Diff for: src/co/gaiwan/compass/db/data.clj

+2-16
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,8 @@
88
(require 'java-time-literals.core)
99

1010
(defn locations []
11-
[{:location/name "Het Depot"
12-
:db/ident :location.type/depot}
13-
{:location/name "Hal 5 - Workshop Zone"
14-
:db/ident :location.type/hal5}
15-
{:location/name "Hal 5 - Presentation Zone"
16-
:db/ident :location.type/hal5-zone-b}
17-
{:location/name "Hal 5 - Open Zone"
18-
:db/ident :location.type/hal5-hoc-cafe}
19-
{:location/name "Hal 5 - Foodcourt"
20-
:db/ident :location.type/hal5-foodcourt}
21-
{:location/name "Hal 5 - Park"
22-
:db/ident :location.type/hal5-park}
23-
{:location/name "Hal 5 - Outside seating"
24-
:db/ident :location.type/hal5-outside-seating}
25-
{:location/name "Hal 5 - Long table"
26-
:db/ident :location.type/hal5-long-table}])
11+
[{:location/name "Het Depot"}
12+
{:location/name "Hal 5"}])
2713

2814
(defn session-types []
2915
[{:session.type/name "Talk"

Diff for: src/co/gaiwan/compass/db/schema.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
[:session.type/name :string "Type of session, e.g. talk, activity"]
6262
[:session.type/color :string "CSS color or var reference used for rendering"]
6363

64-
[:location/name :string "Name of the location" :identity]
64+
[:location/name :string "Name of the location"]
6565
[:oauth/state-id :uuid "State parameter passed along with the oauth flow" :identity]
6666
[:oauth/redirect-url :string "Location to redirect to after login"]
6767

0 commit comments

Comments
 (0)