Initial commit: Replacing repo with local files

This commit is contained in:
2026-02-13 09:22:48 -06:00
commit 4970133b83
62 changed files with 4934 additions and 0 deletions
@@ -0,0 +1,4 @@
[
import_deps: [:ecto_sql],
inputs: ["*.exs"]
]
@@ -0,0 +1,14 @@
defmodule RiverConnect.Repo.Migrations.CreateAudioMessages do
use Ecto.Migration
def change do
create table(:audio_messages) do
add :user_id, :string
add :file_path, :string
add :duration_ms, :integer
add :status, :string
timestamps(type: :utc_datetime)
end
end
end
@@ -0,0 +1,10 @@
defmodule RiverConnect.Repo.Migrations.AddObanJobsTable do
use Ecto.Migration
def up do
Oban.Migrations.up()
end
def down do
Oban.Migrations.down()
end
end
+11
View File
@@ -0,0 +1,11 @@
# Script for populating the database. You can run it as:
#
# mix run priv/repo/seeds.exs
#
# Inside the script, you can read and write to any of your
# repositories directly:
#
# RiverConnect.Repo.insert!(%RiverConnect.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.