ariandanim

ariandanim

After solving from this thread
Ecto not working when Compile - Questions / Help - Elixir Programming Language Forum

I try the next steps in mix ecto.reset something happen like below :
How to solve this warning Message

warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.__adapter__() is deprecated, you must add parentheses instead: remote.function()
  (ecto 3.10.3) lib/mix/tasks/ecto.drop.ex:61: anonymous fn/3 in Mix.Tasks.Ecto.Drop.run/1
  (elixir 1.18.3) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
  (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
  (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6
  (mix 1.18.3) lib/mix/cli.ex:107: Mix.CLI.run_task/2

warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.config() is deprecated, you must add parentheses instead: remote.function()
  (ecto 3.10.3) lib/mix/tasks/ecto.drop.ex:80: Mix.Tasks.Ecto.Drop.drop_database/2
  (elixir 1.18.3) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
  (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
  (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6
  (mix 1.18.3) lib/mix/cli.ex:107: Mix.CLI.run_task/2

The database for MusicDB.Repo has been dropped
warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.__adapter__() is deprecated, you must add parentheses instead: remote.function()
  (ecto 3.10.3) lib/mix/tasks/ecto.create.ex:51: anonymous fn/3 in Mix.Tasks.Ecto.Create.run/1
  (elixir 1.18.3) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
  (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
  (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6
  (mix 1.18.3) lib/mix/cli.ex:107: Mix.CLI.run_task/2

The database for MusicDB.Repo has been created
warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.config() is deprecated, you must add parentheses instead: remote.function()
  (ecto_sql 3.10.2) lib/mix/tasks/ecto.migrate.ex:132: anonymous fn/5 in Mix.Tasks.Ecto.Migrate.run/2
  (elixir 1.18.3) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
  (ecto_sql 3.10.2) lib/mix/tasks/ecto.migrate.ex:129: Mix.Tasks.Ecto.Migrate.run/2
  (mix 1.18.3) lib/mix/task.ex:495: anonymous fn/3 in Mix.Task.run_task/5
  (mix 1.18.3) lib/mix/task.ex:561: Mix.Task.run_alias/6

warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.Migrations.AddArtistsTable.__migration__() is deprecated, you must add parentheses instead: remote.function()
  (ecto_sql 3.10.2) lib/ecto/migrator.ex:609: Ecto.Migrator.conditional_lock_for_migrations/5
  (ecto_sql 3.10.2) lib/ecto/migrator.ex:734: anonymous fn/5 in Ecto.Migrator.migrate/4
  (elixir 1.18.3) lib/enum.ex:2546: Enum."-reduce/3-lists^foldl/2-0-"/3
  (ecto_sql 3.10.2) lib/ecto/migrator.ex:733: Ecto.Migrator.migrate/4
  (ecto_sql 3.10.2) lib/ecto/migrator.ex:170: Ecto.Migrator.with_repo/3

warning: using map.field notation (without parentheses) to invoke function MusicDB.Repo.Migrations.AddArtistsTable.__migration__() is deprecated, you must add parentheses instead: remote.function()
  (ecto_sql 3.10.2) lib/ecto/migrator.ex:350: Ecto.Migrator.run_maybe_in_transaction/5
  (elixir 1.18.3) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
  (elixir 1.18.3) lib/task/supervised.ex:36: Task.Supervised.reply/4


16:01:13.798 [info] == Running 20180308131742 MusicDB.Repo.Migrations.AddArtistsTable.change/0 forward

16:01:13.800 [info] create table artists

16:01:13.807 [info] create index artists_name_index

16:01:13.807 [info] == Migrated 20180308131742 in 0.0s

16:01:13.840 [info] == Running 20180308132308 MusicDB.Repo.Migrations.AddAlbumsTable.change/0 forward

16:01:13.840 [info] create table albums

16:01:13.840 [info] create index albums_artist_id_index

16:01:13.840 [info] == Migrated 20180308132308 in 0.0s

16:01:13.840 [info] == Running 20180308134145 MusicDB.Repo.Migrations.AddTracksTable.change/0 forward

16:01:13.840 [info] create table tracks

16:01:13.840 [info] create index tracks_title_index

16:01:13.855 [info] create index tracks_album_id_index

16:01:13.857 [info] == Migrated 20180308134145 in 0.0s

16:01:13.860 [info] == Running 20180308134445 MusicDB.Repo.Migrations.AddGenresTable.change/0 forward

16:01:13.860 [info] create table genres

16:01:13.860 [info] create index genres_name_index

16:01:13.860 [info] == Migrated 20180308134445 in 0.0s

16:01:13.860 [info] == Running 20180308134653 MusicDB.Repo.Migrations.AddAlbumsGenresTable.change/0 forward

16:01:13.860 [info] create table albums_genres

16:01:13.860 [info] create index albums_genres_album_id_index

16:01:13.874 [info] create index albums_genres_genre_id_index

16:01:13.875 [info] == Migrated 20180308134653 in 0.0s

16:01:13.875 [info] == Running 20180313132703 MusicDB.Repo.Migrations.AddLogsTable.change/0 forward

16:01:13.875 [info] create table logs

16:01:13.875 [info] == Migrated 20180313132703 in 0.0s

16:01:13.875 [info] == Running 20180516132926 MusicDB.Repo.Migrations.AddAlbumsWithEmbeds.change/0 forward

16:01:13.875 [info] create table albums_with_embeds

16:01:13.875 [info] == Migrated 20180516132926 in 0.0s

16:01:13.890 [info] == Running 20180620125250 MusicDB.Repo.Migrations.AddNotesTables.change/0 forward

16:01:13.890 [info] create table notes_with_fk_fields

16:01:13.896 [info] create check constraint only_one_fk on table notes_with_fk_fields

16:01:13.896 [info] create table notes_for_artists

16:01:13.896 [info] create table notes_for_albums

16:01:13.896 [info] create table notes_for_tracks

16:01:13.907 [info] create table notes_with_joins

16:01:13.907 [info] == Migrated 20180620125250 in 0.0s

16:01:13.907 [info] == Running 20180815192832 MusicDB.Repo.Migrations.AddNotesJoinTables.change/0 forward

16:01:13.907 [info] create table artists_notes

16:01:13.907 [info] create index artists_notes_artist_id_index

16:01:13.907 [info] create index artists_notes_note_id_index

16:01:13.923 [info] create table albums_notes

16:01:13.923 [info] create index albums_notes_album_id_index

16:01:13.923 [info] create index albums_notes_note_id_index

16:01:13.923 [info] create table tracks_notes

16:01:13.923 [info] create index tracks_notes_track_id_index

16:01:13.923 [info] create index tracks_notes_note_id_index

16:01:13.923 [info] == Migrated 20180815192832 in 0.0s

16:01:14.376 [debug] QUERY OK db=3.0ms queue=1.0ms idle=14.6ms
INSERT INTO "genres" ("name","wiki_tag","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["jazz", "Jazz", ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.378 [debug] QUERY OK db=0.8ms queue=0.2ms idle=26.2ms
INSERT INTO "genres" ("name","wiki_tag","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["live", "Concert", ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.379 [debug] QUERY OK db=0.4ms queue=0.1ms idle=0.4ms
begin []

16:01:14.381 [debug] QUERY OK db=1.9ms
INSERT INTO "artists" ("name","inserted_at","updated_at") VALUES ($1,$2,$3) RETURNING "id" ["Miles Davis", ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.395 [debug] QUERY OK db=3.5ms
INSERT INTO "albums" ("title","artist_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["Kind Of Blue", 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.401 [debug] QUERY OK db=2.7ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [1, 1]

16:01:14.405 [debug] QUERY OK db=2.7ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [1, "So What", 544, 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.406 [debug] QUERY OK db=1.1ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [2, "Freddie Freeloader", 574, 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.407 [debug] QUERY OK db=0.7ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [3, "Blue In Green", 327, 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.407 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [4, "All Blues", 693, 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.408 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [5, "Flamenco Sketches", 481, 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.409 [debug] QUERY OK db=0.5ms
INSERT INTO "albums" ("title","artist_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["Cookin' At The Plugged Nickel", 1, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.410 [debug] QUERY OK db=0.7ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [2, 1]

16:01:14.411 [debug] QUERY OK db=0.6ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [2, 2]

16:01:14.411 [debug] QUERY OK db=0.5ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [1, "If I Were A Bell", 1006, 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.412 [debug] QUERY OK db=0.3ms decode=0.1ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [2, "Stella By Starlight", 774, 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.412 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [3, "Walkin'", 896, 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.413 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [4, "Miles", 754, 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.414 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [5, "No Blues", 1061, 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.414 [debug] QUERY OK db=0.5ms
commit []

16:01:14.415 [debug] QUERY OK db=0.2ms queue=0.1ms idle=36.1ms
begin []

16:01:14.417 [debug] QUERY OK db=1.1ms decode=0.1ms
INSERT INTO "artists" ("name","inserted_at","updated_at") VALUES ($1,$2,$3) RETURNING "id" ["Bill Evans", ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.420 [debug] QUERY OK db=2.7ms
INSERT INTO "albums" ("title","artist_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["You Must Believe In Spring", 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.426 [debug] QUERY OK db=4.7ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [3, 1]

16:01:14.428 [debug] QUERY OK db=1.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [1, "B Minor Waltz (for Ellaine)", 192, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.428 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [2, "You Must Believe In Spring", 337, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.428 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [3, "Gary's Theme", 255, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.428 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [4, "We Will Meet Again (for Harry)", 239, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [5, "The Peacocks", 360, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [6, "Sometime Ago", 292, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [7, "Theme From M*A*S*H (Suicide Is Painless)", 353, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.2ms decode=0.1ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [8, "Without a Song", 485, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [9, "Freddie Freeloader", 454, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.430 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [10, "All of You", 489, 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.432 [debug] QUERY OK db=0.3ms
INSERT INTO "albums" ("title","artist_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["Portrait In Jazz", 2, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.432 [debug] QUERY OK db=0.3ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [4, 1]

16:01:14.432 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [1, "Come Rain Or Come Shine", 204, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.432 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [2, "Autumn Leaves", 360, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.432 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [3, "Witchcraft", 277, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [4, "When I Fall In Love", 297, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [5, "Peri's Scope", 195, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [6, "What Is This Thing Called Love?", 276, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [7, "Spring Is Here", 309, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [8, "Someday My Prince Will Come", 297, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.2ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [9, "Blue In Green", 325, 4, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.434 [debug] QUERY OK db=0.9ms
commit []

16:01:14.434 [debug] QUERY OK db=0.2ms idle=45.2ms
begin []

16:01:14.438 [debug] QUERY OK db=1.5ms
INSERT INTO "artists" ("name","inserted_at","updated_at") VALUES ($1,$2,$3) RETURNING "id" ["Bobby Hutcherson", ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=3.3ms
INSERT INTO "albums" ("title","artist_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4) RETURNING "id" ["Live At Montreaux", 3, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=3.0ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [5, 1]

16:01:14.440 [debug] QUERY OK db=0.4ms
INSERT INTO "albums_genres" ("album_id","genre_id") VALUES ($1,$2) [5, 2]

16:01:14.440 [debug] QUERY OK db=1.1ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [1, "Anton's Ball", 761, 5, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [2, "The Moontrane", 647, 5, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=0.4ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [3, "Farallone", 805, 5, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=0.3ms
INSERT INTO "tracks" ("index","title","duration","album_id","inserted_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6) RETURNING "id" [4, "Song Of Songs", 844, 5, ~N[2025-05-02 08:01:14], ~N[2025-05-02 08:01:14]]

16:01:14.440 [debug] QUERY OK db=0.9ms
commit []

16:01:14.440 [debug] QUERY OK db=0.2ms idle=59.3ms
begin []

16:01:14.467 [debug] QUERY OK db=6.1ms
INSERT INTO "albums_with_embeds" ("title","tracks","artist") VALUES ($1,$2,$3) RETURNING "id" ["Moanin'", [%MusicDB.TrackEmbed{id: "7511bc44-f780-4597-9cb8-a8c6f3f32313", title: "Moanin'", duration: 575}, %MusicDB.TrackEmbed{id: "e78950eb-3b8c-4ae7-ba25-3854d7b17b1c", title: "Are You Real", duration: 290}, %MusicDB.TrackEmbed{id: "51a8838d-e0f4-493d-84d6-1b94cf33299d", title: "Along Came Betty", duration: 372}, %MusicDB.TrackEmbed{id: "07592119-8a1c-4431-84b2-55b168fc48a3", title: "The Drum Thunder Suite", duration: 453}, %MusicDB.TrackEmbed{id: "af8739f9-0bb0-40c0-9f9b-bcb158f7a6ac", title: "Blues March", duration: 377}, %MusicDB.TrackEmbed{id: "0a71aa68-6505-43be-b318-33ddfe8fb922", title: "Come Rain or Come Shine", duration: 349}], %MusicDB.ArtistEmbed{id: "c91d003e-9472-481e-91c6-a959aa6e9876", name: "Art Blakey"}]


16:01:14.467 [debug] QUERY OK db=0.9ms
commit []
Success! Sample data has been added.

Showing Posts 1 to 1

LostKobrakai

LostKobrakai

Based on this other thread you’re following a books contents. For that case I’d suggest going with the versions you commonly find documented in the start of such books for everything if you can. That includes using an old version of elixir, which would not have those warnings.

If you want to stick to a modern version of elixir you can either also use a modern ecto or ignore the warnings.

— All posts loaded —

Where Next? Top

Trending in Questions Top

katta
I having some trouble figuring out if I have set myself too strict of standards for my production server. Currently I can handle 75% of r...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
achenet
Hello, I’m trying to build a basic Phoenix web-app, and I’d like to use Tailwind. However, when I launch mix phx.server, I get an error...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
Cxx-mlr
I’m working on a small exercise involving update_in/3, and I came up with this solution: data = %{ name: "Periodic Table", category:...
New
ChrisAmelia
I’ve got trouble wrapping my head around the order in which functions are called in this snippet (from Phoenix’s authentication): toke...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews