aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20210122050635_add_section_icon.rb
diff options
context:
space:
mode:
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