16 lines
432 B
Elixir
16 lines
432 B
Elixir
|
defmodule Bright.Repo.Migrations.DropUsers do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
# clearing out these dbs so we can start over
|
||
|
drop_if_exists table(:user), mode: :cascade
|
||
|
drop_if_exists table(:users), mode: :cascade
|
||
|
|
||
|
drop_if_exists table(:user_token), mode: :cascade
|
||
|
drop_if_exists table(:users_tokens), mode: :cascade
|
||
|
|
||
|
# idk what :urls is for so I'm beleting it
|
||
|
drop_if_exists table(:urls)
|
||
|
end
|
||
|
end
|