mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: allows multiple custom emoji groups (#9308)
Note: DBHelper would fail with a sql syntax error on columns like "group". Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
7
db/migrate/20200116092259_add_group_to_custom_emojis.rb
Normal file
7
db/migrate/20200116092259_add_group_to_custom_emojis.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddGroupToCustomEmojis < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
add_column :custom_emojis, :group, :string, null: true, limit: 20
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user