17 lines
414 B
Elixir
17 lines
414 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
|
|
|
|
timestamps()
|
|
end
|
|
end
|
|
end
|