Skip to content

Commit 8947b87

Browse files
committed
add team field to job postings
1 parent 8be6dba commit 8947b87

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

lib/algora/jobs/schemas/job_posting.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ defmodule Algora.Jobs.JobPosting do
2929
field :primary_tech, :string
3030
field :primary_tag, :string
3131
field :full_description, :string
32+
field :team, :string
3233

3334
field :location_meta, :map
3435
field :location_iso_lvl4, :string
@@ -66,6 +67,7 @@ defmodule Algora.Jobs.JobPosting do
6667
:primary_tech,
6768
:primary_tag,
6869
:full_description,
70+
:team,
6971
:location_types,
7072
:locations,
7173
:min_compensation,
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule Algora.Repo.Migrations.AddTeamToJobPostings do
2+
use Ecto.Migration
3+
4+
def change do
5+
alter table(:job_postings) do
6+
add :team, :string, null: true
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)