Add first version of online stores for wishlisted records (claude)
See docs/plans/online_stores.md
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
defmodule MusicLibrary.Repo.Migrations.CreateOnlineStoreTemplates do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table(:online_store_templates, primary_key: false) do
|
||||
add :id, :binary_id, primary_key: true
|
||||
add :name, :string, null: false
|
||||
add :description, :text
|
||||
add :url_template, :text, null: false
|
||||
add :enabled, :boolean, default: true, null: false
|
||||
|
||||
timestamps(type: :utc_datetime)
|
||||
end
|
||||
|
||||
create index(:online_store_templates, [:enabled])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user