Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit96095c1

Browse files
committed
chore: add link to repo & clean up
1 parent8dd0274 commit96095c1

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

‎lib/groupher_server_web/schema/cms/cms_types.ex‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ defmodule GroupherServerWeb.Schema.CMS.Types do
427427

428428
@desc"article meta info"
429429
object:article_metado
430+
field(:thread,:string)
430431
field(:is_edited,:boolean)
431432
field(:is_comment_locked,:boolean)
432433
field(:last_active_at,:datetime)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmoduleGroupherServer.Repo.Migrations.AddLinkToReposdo
2+
useEcto.Migration
3+
4+
defchangedo
5+
altertable(:cms_repos)do
6+
add(:link_addr,:string)
7+
end
8+
end
9+
end

‎test/groupher_server/seeds/articles_seed_test.exs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ defmodule GroupherServer.Test.Seeds.Articles do
1111
aliasHelper.ORM
1212

1313
describe"[posts seed]"do
14-
@tag:wip
1514
test"can seed posts"do
1615
{:ok,community}=CMS.seed_community(:home)
1716
CMS.seed_articles(community,:post,5)
@@ -32,7 +31,6 @@ defmodule GroupherServer.Test.Seeds.Articles do
3231
assertoriginal_community_ids===[community.id]
3332
end
3433

35-
@tag:wip
3634
test"can seed jobs"do
3735
{:ok,community}=CMS.seed_community(:home)
3836
CMS.seed_articles(community,:job,5)
@@ -49,7 +47,6 @@ defmodule GroupherServer.Test.Seeds.Articles do
4947
assertoriginal_community_ids===[community.id]
5048
end
5149

52-
@tag:wip
5350
test"can seed radars"do
5451
{:ok,community}=CMS.seed_community(:home)
5552
CMS.seed_articles(community,:radar,5)
@@ -67,7 +64,6 @@ defmodule GroupherServer.Test.Seeds.Articles do
6764
assertoriginal_community_ids===[community.id]
6865
end
6966

70-
@tag:wip
7167
test"can seed blogs"do
7268
{:ok,community}=CMS.seed_community(:home)
7369
CMS.seed_articles(community,:blog,5)
@@ -84,7 +80,6 @@ defmodule GroupherServer.Test.Seeds.Articles do
8480
assertoriginal_community_ids===[community.id]
8581
end
8682

87-
@tag:wip
8883
test"can seed works"do
8984
{:ok,community}=CMS.seed_community(:home)
9085
CMS.seed_articles(community,:works,5)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp