3
0

add(crm): migration for related types

This commit is contained in:
Tit Petric
2018-11-09 19:33:43 +01:00
parent a2347e5ba3
commit 21ba44dcf0
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -99,6 +99,7 @@ test.crm: $(GOTEST)
$(GO) tool cover -func=.cover.out | grep --color "^\|[^0-9]0.0%"
test.crm.db: $(GOTEST)
cd crm/db && $(GO) generate && cd ../..
$(GOTEST) -covermode count -coverprofile .cover.out -v ./crm/db/...
$(GO) tool cover -func=.cover.out | grep --color "^\|[^0-9]0.0%"
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
INSERT INTO `crm_field` (`field_type`, `field_name`, `field_template`) VALUES ('related', 'Related content', ''), ('related_multi', 'Related content (multiple)', '');