tusker_push/priv/repo/migrations/20240405181919_create_regis...

19 lines
462 B
Elixir

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
add :push_version, :integer, null: false
timestamps()
end
end
end