Skip to content

Commit c8e1680

Browse files
committed
it works!
1 parent e3961c1 commit c8e1680

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

examples/dest_pg_3_4.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
media_root: /home/eugen/DockerCompose/pm3.4-pg/media34a4/
2+
database_url: postgresql://coco:kesha@127.0.0.1:5432/pmg34a4?sslmode=disable
3+
app_version: 3.4

models/app_v2_0/types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ type FlatNode struct {
5757

5858
type Node struct {
5959
ID uuid.UUID
60-
LegacyID int `yaml:"legacy_id"`
61-
Title string `yaml:"title"`
62-
Children map[string]*Node `yaml:"children,omitempty"`
63-
NodeType NodeType
60+
LegacyID int `yaml:"legacy_id"`
61+
Title string `yaml:"title"`
62+
Children map[string]*Node `yaml:"children,omitempty"`
63+
NodeType NodeType `yaml:"node_type,omitempty"`
6464
Versions []DocumentVersion `yaml:"versions,omitempty"`
6565
FileName *string `yaml:"file_name,omitempty"`
6666
PageCount *int `yaml:"page_count,omitempty"`

0 commit comments

Comments
 (0)