initial commit

This commit is contained in:
2020-12-28 14:35:10 -08:00
commit d35510a138
218 changed files with 52160 additions and 0 deletions
@@ -0,0 +1,12 @@
defmodule Bwc.Repo.Migrations.CreateCards do
use Ecto.Migration
def change do
create table("cards") do
add :title, :string
add :picture, :string
add :description, :string
timestamps()
end
end
end
@@ -0,0 +1,7 @@
defmodule Bwc.Repo.Migrations.CreateCards do
use Ecto.Migration
def change do
end
end
@@ -0,0 +1,9 @@
defmodule Bwc.Repo.Migrations.AddPlayed do
use Ecto.Migration
def change do
alter table("cards") do
add :played, :boolean, default: false
end
end
end