bump_server/priv/repo/migrations/20211230132931_add_senders.exs

14 lines
271 B
Elixir
Raw Normal View History

defmodule Bump.Repo.Migrations.AddSenders do
use Ecto.Migration
def change do
create table :senders do
add :sender, :string, size: 255, null: false
add :firebase_token, :string, size: 2048
timestamps([type: :utc_datetime])
end
end
end