-
Notifications
You must be signed in to change notification settings - Fork 0
/
seed.graphql
54 lines (52 loc) · 955 Bytes
/
seed.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
mutation {
# Create first admin user
admin: createUser(data: {
username: "admin"
password: "$2b$10$dqyYw5XovLjpmkYNiRDEWuwKaRAvLaG45fnXE5b3KTccKZcRPka2m" # "secret42"
role: 0
}) {
id
}
# Create member types
memberType1: createMemberType(data: {
name: "Thành viên chính thức"
}) {
id
}
memberType2: createMemberType(data: {
name: "Thành viên mới"
}) {
id
}
memberType3: createMemberType(data: {
name: "Thành viên X"
}) {
id
}
# Create activity types
actNTT: createActivityType(data: {
name: "Nhóm thanh niên"
}) {
id
}
actHKT: createActivityType(data: {
name: "Học Kinh Thánh"
}) {
id
}
actTV: createActivityType(data: {
name: "Thăm viếng"
}) {
id
}
actTCN: createActivityType(data: {
name: "Trường Chúa Nhật"
}) {
id
}
actCN: createActivityType(data: {
name: "Cầu Nguyện"
}) {
id
}
}