Add model and migration to store custom emoji
Problem to solve
To store custom emoji, we'll need to add the database table and backend model.
Intended users & User experience goal
It's a fully invisible backend change, and won't be usable on it's own. It's just preparation for the rest of the work in &3966 (closed).
Proposal
- Create a model
app/models/custom_emoji.rb
which is pretty straightforwardActiveRecord::Model
. - Create an associated table
custom_emoji
in the database - Provide the desired associations (i.e. a
CustomEmoji
belongs to aGroup
)
Documentation
No docs needed yet.