ariandanim
Warning Message when type mix ecto.reset
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.
First Post!
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.
Popular in Questions
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
In templates/appointment/index.html.eex:
<%= for appointment <- @appointments do %>
<tr>
<td><%= appoi...
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Other popular topics
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #javascript
- #code-sync
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








