Skip to content

Commit f434dd0

Browse files
committed
add readme field to users
1 parent 09d442d commit f434dd0

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

lib/algora/accounts/schemas/user.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ defmodule Algora.Accounts.User do
111111
field :system_bio, :string
112112
field :system_bio_meta, :map, default: %{}
113113
field :system_tags, {:array, :string}, default: []
114+
field :readme, :string
114115

115116
field :location_meta, :map
116117
field :location_iso_lvl4, :string
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule Algora.Repo.Migrations.AddReadmeContentToUsers do
2+
use Ecto.Migration
3+
4+
def change do
5+
alter table(:users) do
6+
add :readme, :text
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)