aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20210122050635_add_section_icon.rb
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2021-01-22 10:35:07 +0100
committerhellekin <hellekin@cepheide.org>2021-01-22 10:35:07 +0100
commit97bfc3f6012027077077ea4a6b5f2f709c76158e (patch)
tree51df0783d3c8ce8b2e928c73d28a77fffb417dbb /db/migrate/20210122050635_add_section_icon.rb
parentbf087e092cc60defb307f4625333c97327283cc3 (diff)
downloadincommon-map-97bfc3f6012027077077ea4a6b5f2f709c76158e.tar.gz
Add markers and popups
- Replace MakiMarkers with ExtraMarkers and ForkAwesome - Add HTML popup binding
Diffstat (limited to 'db/migrate/20210122050635_add_section_icon.rb')
-rw-r--r--db/migrate/20210122050635_add_section_icon.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20210122050635_add_section_icon.rb b/db/migrate/20210122050635_add_section_icon.rb
new file mode 100644
index 0000000..a89c201
--- /dev/null
+++ b/db/migrate/20210122050635_add_section_icon.rb
@@ -0,0 +1,5 @@
+class AddSectionIcon < ActiveRecord::Migration[6.1]
+ def change
+ add_column :sections, :icon_name, :string, limit: 32, default: 'fa-neuter'
+ end
+end