logo

pleroma

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

20220203224011_create_rules.exs (260B)


  1. defmodule Pleroma.Repo.Migrations.CreateRules do
  2. use Ecto.Migration
  3. def change do
  4. create_if_not_exists table(:rules) do
  5. add(:priority, :integer, default: 0, null: false)
  6. add(:text, :text, null: false)
  7. timestamps()
  8. end
  9. end
  10. end