mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
bd52e2aec7
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
12 lines
260 B
Elixir
12 lines
260 B
Elixir
defmodule Pleroma.Repo.Migrations.CreateRules do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create_if_not_exists table(:rules) do
|
|
add(:priority, :integer, default: 0, null: false)
|
|
add(:text, :text, null: false)
|
|
|
|
timestamps()
|
|
end
|
|
end
|
|
end
|