Skip to content

Commit ef66854

Browse files
committed
feat: update job posting and user URLs from varchar to text
1 parent 24c43ca commit ef66854

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
defmodule Algora.Repo.Migrations.UpdateJobPostingDescription do
2+
use Ecto.Migration
3+
4+
def up do
5+
alter table(:job_postings) do
6+
modify :description, :text
7+
modify :company_name, :text
8+
modify :company_url, :text
9+
end
10+
11+
alter table(:users) do
12+
modify :linkedin_url, :text
13+
modify :website_url, :text
14+
modify :discord_url, :text
15+
modify :github_url, :text
16+
modify :twitter_url, :text
17+
modify :youtube_url, :text
18+
modify :slack_url, :text
19+
modify :twitch_url, :text
20+
modify :og_image_url, :text
21+
end
22+
end
23+
24+
def down do
25+
end
26+
end

0 commit comments

Comments
 (0)