summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20250323093713_create_locations.exs
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-07-14 19:34:59 +0300
committerDawid Rycerz <dawid@rycerz.xyz>2025-07-14 19:34:59 +0300
commit50ce8cb96b2b218751c2fc2a6b19372f51846acc (patch)
treee2c634d2ce856062d527667d47815a05a53361c8 /priv/repo/migrations/20250323093713_create_locations.exs
parent0ab2e5ba2b0631b28b5b1405559237b3913c878f (diff)
feat: rewrite in rust
Diffstat (limited to 'priv/repo/migrations/20250323093713_create_locations.exs')
-rw-r--r--priv/repo/migrations/20250323093713_create_locations.exs15
1 files changed, 0 insertions, 15 deletions
diff --git a/priv/repo/migrations/20250323093713_create_locations.exs b/priv/repo/migrations/20250323093713_create_locations.exs
deleted file mode 100644
index 9373024..0000000
--- a/priv/repo/migrations/20250323093713_create_locations.exs
+++ /dev/null
@@ -1,15 +0,0 @@
-defmodule Silmataivas.Repo.Migrations.CreateLocations do
- use Ecto.Migration
-
- def change do
- create table(:locations) do
- add :latitude, :float
- add :longitude, :float
- add :user_id, references(:users, on_delete: :nothing)
-
- timestamps(type: :utc_datetime)
- end
-
- create index(:locations, [:user_id])
- end
-end