tusker_push/priv/repo/migrations/20240405181919_create_registrations.exs

19 lines
462 B
Elixir
Raw Normal View History

2024-04-05 15:04:38 -04:00
defmodule TuskerPush.Repo.Migrations.CreateRegistrations do
use Ecto.Migration
def change do
create table(:registrations, primary_key: false) do
add :id, :uuid, primary_key: true, null: false
add :storekit_original_transaction_id, :string, null: false
add :apns_environment, :string, null: false
add :apns_device_token, :string, null: false
2024-04-06 15:26:44 -04:00
add :push_version, :integer, null: false
2024-04-05 15:04:38 -04:00
timestamps()
end
end
end