blob: 0f83fafe8b4bd6278a374c07f05de2692810cc17 (
plain) (
blame)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
|
---
schema:
procedures: {}
tables:
dbix_class_deploymenthandler_versions:
constraints:
- deferrable: 1
expression: ''
fields:
- id
match_type: ''
name: ''
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: PRIMARY KEY
- deferrable: 1
expression: ''
fields:
- version
match_type: ''
name: dbix_class_deploymenthandler_versions_version
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: UNIQUE
fields:
ddl:
data_type: text
default_value: ~
is_nullable: 1
is_primary_key: 0
is_unique: 0
name: ddl
order: 3
size:
- 0
id:
data_type: int
default_value: ~
is_auto_increment: 1
is_nullable: 0
is_primary_key: 1
is_unique: 0
name: id
order: 1
size:
- 0
upgrade_sql:
data_type: text
default_value: ~
is_nullable: 1
is_primary_key: 0
is_unique: 0
name: upgrade_sql
order: 4
size:
- 0
version:
data_type: varchar
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 1
name: version
order: 2
size:
- 50
indices: []
name: dbix_class_deploymenthandler_versions
options: []
order: 1
triggers: {}
views: {}
translator:
add_drop_table: 0
filename: ~
no_comments: 0
parser_args:
package: &1 !!perl/hash:jitterbug::Schema
class_mappings:
DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult: __VERSION
jitterbug::Schema::Result::Commit: Commit
jitterbug::Schema::Result::Project: Project
jitterbug::Schema::Result::Task: Task
source_registrations:
Commit: !!perl/hash:DBIx::Class::ResultSource::Table
_columns:
content:
data_type: text
extra: {}
projectid:
data_type: int
extra: {}
is_foreign_key: 1
sha256:
data_type: text
extra: {}
is_auto_increment: 0
timestamp:
_inflate_info:
deflate: !!perl/code '{ "DUMMY" }'
inflate: !!perl/code '{ "DUMMY" }'
data_type: datetime
extra: {}
_columns_info_loaded: 0
_ordered_columns:
- sha256
- content
- projectid
- timestamp
_primaries: &2
- sha256
_relationships:
project:
attrs:
accessor: single
is_foreign_key_constraint: 1
undef_on_null_fk: 1
class: jitterbug::Schema::Result::Project
cond:
foreign.projectid: self.projectid
source: jitterbug::Schema::Result::Project
tasks:
attrs:
accessor: multi
cascade_copy: 1
cascade_delete: 1
join_type: LEFT
class: jitterbug::Schema::Result::Task
cond:
foreign.taskid: self.sha256
source: jitterbug::Schema::Result::Task
_unique_constraints:
primary: *2
name: commit_push
result_class: jitterbug::Schema::Result::Commit
resultset_attributes: {}
resultset_class: DBIx::Class::ResultSet
schema: *1
source_name: Commit
sqlt_deploy_callback: default_sqlt_deploy_hook
Project: !!perl/hash:DBIx::Class::ResultSource::Table
_columns:
description:
data_type: text
name:
data_type: text
owner:
data_type: text
projectid:
data_type: int
is_auto_increment: 1
url:
data_type: text
_columns_info_loaded: 0
_ordered_columns:
- projectid
- name
- url
- description
- owner
_primaries: &3
- projectid
_relationships:
commits:
attrs:
accessor: multi
cascade_copy: 1
cascade_delete: 1
join_type: LEFT
class: jitterbug::Schema::Result::Commit
cond:
foreign.sha256: self.projectid
source: jitterbug::Schema::Result::Commit
tasks:
attrs:
accessor: multi
cascade_copy: 1
cascade_delete: 1
join_type: LEFT
class: jitterbug::Schema::Result::Task
cond:
foreign.taskid: self.projectid
source: jitterbug::Schema::Result::Task
_unique_constraints:
primary: *3
project_name:
- name
name: project
result_class: jitterbug::Schema::Result::Project
resultset_attributes: {}
resultset_class: DBIx::Class::ResultSet
schema: *1
source_name: Project
sqlt_deploy_callback: default_sqlt_deploy_hook
Task: !!perl/hash:DBIx::Class::ResultSource::Table
_columns:
projectid:
data_type: int
extra: {}
is_foreign_key: 1
running:
data_type: bool
default_value: 0
extra: {}
sha256:
data_type: text
extra: {}
is_foreign_key: 1
started_when:
_inflate_info:
deflate: !!perl/code '{ "DUMMY" }'
inflate: !!perl/code '{ "DUMMY" }'
data_type: datetime
datetime_undef_if_invalid: 1
extra: {}
is_nullable: 1
taskid:
data_type: int
extra: {}
is_auto_increment: 1
_columns_info_loaded: 0
_ordered_columns:
- taskid
- sha256
- projectid
- running
- started_when
_primaries: &4
- taskid
_relationships:
commit:
attrs:
accessor: single
is_foreign_key_constraint: 1
undef_on_null_fk: 1
class: jitterbug::Schema::Result::Commit
cond:
foreign.sha256: self.sha256
source: jitterbug::Schema::Result::Commit
project:
attrs:
accessor: single
is_foreign_key_constraint: 1
undef_on_null_fk: 1
class: jitterbug::Schema::Result::Project
cond:
foreign.projectid: self.projectid
source: jitterbug::Schema::Result::Project
_unique_constraints:
primary: *4
task_projectid:
- projectid
task_sha256:
- sha256
name: task
result_class: jitterbug::Schema::Result::Task
resultset_attributes: {}
resultset_class: DBIx::Class::ResultSet
schema: *1
source_name: Task
sqlt_deploy_callback: default_sqlt_deploy_hook
__VERSION: !!perl/hash:DBIx::Class::ResultSource::Table
_columns:
ddl:
data_type: text
is_nullable: 1
id:
data_type: int
is_auto_increment: 1
upgrade_sql:
data_type: text
is_nullable: 1
version:
data_type: varchar
size: 50
_columns_info_loaded: 0
_ordered_columns:
- id
- version
- ddl
- upgrade_sql
_primaries: &5
- id
_relationships: {}
_unique_constraints:
dbix_class_deploymenthandler_versions_version:
- version
primary: *5
name: dbix_class_deploymenthandler_versions
result_class: DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResult
resultset_attributes: {}
resultset_class: DBIx::Class::DeploymentHandler::VersionStorage::Standard::VersionResultSet
schema: *1
source_name: __VERSION
sqlt_deploy_callback: default_sqlt_deploy_hook
storage: !!perl/hash:DBIx::Class::Storage::DBI
_connect_info:
- dbi:SQLite:dbname=jitterbug.db
_dbh_gen: 0
_dbi_connect_info:
- dbi:SQLite:dbname=jitterbug.db
- ~
- ~
- &6
AutoCommit: 1
PrintError: 0
RaiseError: 1
_dbic_connect_attributes: *6
_in_dbh_do: 0
_sql_maker: ~
_sql_maker_opts: {}
debugobj: !!perl/hash:DBIx::Class::Storage::Statistics {}
savepoints: []
schema: *1
transaction_depth: 0
sources:
- __VERSION
parser_type: SQL::Translator::Parser::DBIx::Class
producer_args: {}
producer_type: SQL::Translator::Producer::YAML
show_warnings: 0
trace: 0
version: 0.11007
|