Skip to content

Commit

Permalink
Add more features (#208)
Browse files Browse the repository at this point in the history
* Small refactor + Add `hasUnofficialName` and `hasUnofficialName`

* fix key

* Refactory Feature types and add group + Add `allowedAccess`

* Add more features

* Add translations

* Fix composite translations

* Unhide

* Fix img height in safari

* Fix now imgs

* Reset override mapwhen going back

* Allow use of any
  • Loading branch information
mauriciabad authored Feb 22, 2024
1 parent 29554d1 commit ddd0251
Show file tree
Hide file tree
Showing 13 changed files with 1,727 additions and 51 deletions.
9 changes: 9 additions & 0 deletions drizzle/0020_lyrical_white_queen.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ALTER TABLE `feature` ADD `isNudist` boolean;--> statement-breakpoint
ALTER TABLE `feature` ADD `hasUnofficialName` boolean;--> statement-breakpoint
ALTER TABLE `feature` ADD `isOutOfTheMunicipality` boolean;--> statement-breakpoint
ALTER TABLE `feature` ADD `allowedAccess` enum('public','permissive','customers','permit','private','mixed');--> statement-breakpoint
ALTER TABLE `feature` ADD `duration` int;--> statement-breakpoint
ALTER TABLE `feature` ADD `distance` int;--> statement-breakpoint
ALTER TABLE `feature` ADD `slope` int;--> statement-breakpoint
ALTER TABLE `feature` ADD `allowedAccessNotes` text;--> statement-breakpoint
ALTER TABLE `feature_translation` ADD `allowedAccessNotes` text;
Loading

0 comments on commit ddd0251

Please sign in to comment.