logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/

20220222203933_add_pinned_to_chats.exs (233B)


  1. defmodule Pleroma.Repo.Migrations.AddPinnedToChats do
  2. use Ecto.Migration
  3. def change do
  4. alter table(:chats) do
  5. add(:pinned, :boolean, default: false, null: false)
  6. end
  7. create(index(:chats, [:pinned]))
  8. end
  9. end