Permette titolo, testo e link diversi per Android e iOS negli avvisi.
Separa i canali app e mostra il nodo ingest nelle sessioni admin. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Generated
+11
-2
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.2].define(version: 2026_08_20_140000) do
|
||||
ActiveRecord::Schema[7.2].define(version: 2026_08_20_180000) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
@@ -55,7 +55,6 @@ ActiveRecord::Schema[7.2].define(version: 2026_08_20_140000) do
|
||||
t.string "kind", default: "info", null: false
|
||||
t.string "severity", default: "info", null: false
|
||||
t.string "status", default: "draft", null: false
|
||||
t.boolean "show_on_app", default: true, null: false
|
||||
t.boolean "show_on_web_public", default: false, null: false
|
||||
t.boolean "show_on_web_private", default: false, null: false
|
||||
t.string "title", null: false
|
||||
@@ -68,6 +67,16 @@ ActiveRecord::Schema[7.2].define(version: 2026_08_20_140000) do
|
||||
t.uuid "created_by_admin_id"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.boolean "show_on_android", default: true, null: false
|
||||
t.boolean "show_on_ios", default: true, null: false
|
||||
t.string "android_title"
|
||||
t.text "android_body"
|
||||
t.string "android_action_url"
|
||||
t.string "android_action_label"
|
||||
t.string "ios_title"
|
||||
t.text "ios_body"
|
||||
t.string "ios_action_url"
|
||||
t.string "ios_action_label"
|
||||
t.index ["created_by_admin_id"], name: "index_app_announcements_on_created_by_admin_id"
|
||||
t.index ["status", "starts_at", "ends_at"], name: "index_app_announcements_on_status_and_starts_at_and_ends_at"
|
||||
t.index ["status"], name: "index_app_announcements_on_status"
|
||||
|
||||
Reference in New Issue
Block a user