diff --git a/lib/ketbin/api/user.ex b/lib/ketbin/api/user.ex deleted file mode 100644 index 8f4f9bc..0000000 --- a/lib/ketbin/api/user.ex +++ /dev/null @@ -1,3 +0,0 @@ -defmodule Ketbin.Api.User do - -end \ No newline at end of file diff --git a/lib/ketbin/arch.ex b/lib/ketbin/arch.ex deleted file mode 100644 index df38547..0000000 --- a/lib/ketbin/arch.ex +++ /dev/null @@ -1,18 +0,0 @@ -defmodule Ketbin.Schema do - @moduledoc """ - Ketbin keeps the contexts that define your schemas - """ -end - - -defmodule Ketbin.Crud do - @moduledoc """ - Ketbin keeps the contexts that define your CRUD functions - """ -end - -defmodule Ketbin.Api do - @moduledoc """ - Ketbin keeps the contexts that define your business logic. - """ -end \ No newline at end of file diff --git a/lib/ketbin/crud/user.ex b/lib/ketbin/crud/user.ex deleted file mode 100644 index fc89cf4..0000000 --- a/lib/ketbin/crud/user.ex +++ /dev/null @@ -1,3 +0,0 @@ -defmodule Ketbin.Crud.User do - -end \ No newline at end of file diff --git a/lib/ketbin/schema/user.ex b/lib/ketbin/schema/user.ex deleted file mode 100644 index 4e0fc8e..0000000 --- a/lib/ketbin/schema/user.ex +++ /dev/null @@ -1,17 +0,0 @@ -defmodule Ketbin.Schema.User do - use Ecto.Schema - import Ecto.Changeset - - schema "users" do - field :firebase_id, :string - - timestamps() - end - - @doc false - def changeset(user, attrs) do - user - |> cast(attrs, [:firebase_id]) - |> validate_required([:firebase_id]) - end -end diff --git a/priv/repo/migrations/20210809085801_create_users.exs b/priv/repo/migrations/20210809085801_create_users.exs deleted file mode 100644 index b2162b8..0000000 --- a/priv/repo/migrations/20210809085801_create_users.exs +++ /dev/null @@ -1,12 +0,0 @@ -defmodule Ketbin.Repo.Migrations.CreateUsers do - use Ecto.Migration - - def change do - create table(:users) do - add :firebase_id, :string - - timestamps() - end - - end -end