Feature: Unlisted custom emojis (#5485)
This commit is contained in:
parent
0cb329f63a
commit
781105293c
9 changed files with 32 additions and 6 deletions
|
@ -0,0 +1,7 @@
|
|||
class AddVisibleInPickerToCustomEmoji < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
safety_assured {
|
||||
add_column :custom_emojis, :visible_in_picker, :boolean, default: true, null: false
|
||||
}
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20171010025614) do
|
||||
ActiveRecord::Schema.define(version: 20171020084748) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -111,6 +111,7 @@ ActiveRecord::Schema.define(version: 20171010025614) do
|
|||
t.boolean "disabled", default: false, null: false
|
||||
t.string "uri"
|
||||
t.string "image_remote_url"
|
||||
t.boolean "visible_in_picker", default: true, null: false
|
||||
t.index ["shortcode", "domain"], name: "index_custom_emojis_on_shortcode_and_domain", unique: true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue