blob: a237f76b982a44fe2dabd54076e5b41024f5faea (
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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
|
---
schema:
procedures: {}
tables:
commit_push:
constraints:
- deferrable: 1
expression: ''
fields:
- sha256
match_type: ''
name: ''
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: PRIMARY KEY
- deferrable: 1
expression: ''
fields:
- projectid
match_type: ''
name: commit_push_fk_projectid
on_delete: ''
on_update: ''
options: []
reference_fields:
- projectid
reference_table: project
type: FOREIGN KEY
fields:
content:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: content
order: 2
size:
- 0
projectid:
data_type: int
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: projectid
order: 3
size:
- 0
sha256:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 1
is_unique: 0
name: sha256
order: 1
size:
- 0
timestamp:
data_type: datetime
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: timestamp
order: 4
size:
- 0
indices:
- fields:
- projectid
name: commit_push_idx_projectid
options: []
type: NORMAL
name: commit_push
options: []
order: 2
project:
constraints:
- deferrable: 1
expression: ''
fields:
- projectid
match_type: ''
name: ''
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: PRIMARY KEY
- deferrable: 1
expression: ''
fields:
- name
match_type: ''
name: project_name
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: UNIQUE
fields:
description:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: description
order: 4
size:
- 0
name:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 1
name: name
order: 2
size:
- 0
owner:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: owner
order: 5
size:
- 0
projectid:
data_type: int
default_value: ~
is_auto_increment: 1
is_nullable: 0
is_primary_key: 1
is_unique: 0
name: projectid
order: 1
size:
- 0
url:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 0
name: url
order: 3
size:
- 0
indices: []
name: project
options: []
order: 1
task:
constraints:
- deferrable: 1
expression: ''
fields:
- taskid
match_type: ''
name: ''
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: PRIMARY KEY
- deferrable: 1
expression: ''
fields:
- projectid
match_type: ''
name: task_projectid
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: UNIQUE
- deferrable: 1
expression: ''
fields:
- sha256
match_type: ''
name: task_sha256
on_delete: ''
on_update: ''
options: []
reference_fields: []
reference_table: ''
type: UNIQUE
- deferrable: 1
expression: ''
fields:
- sha256
match_type: ''
name: task_fk_sha256
on_delete: ''
on_update: ''
options: []
reference_fields:
- sha256
reference_table: commit_push
type: FOREIGN KEY
- deferrable: 1
expression: ''
fields:
- projectid
match_type: ''
name: task_fk_projectid
on_delete: ''
on_update: ''
options: []
reference_fields:
- projectid
reference_table: project
type: FOREIGN KEY
fields:
projectid:
data_type: int
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 1
name: projectid
order: 3
size:
- 0
sha256:
data_type: text
default_value: ~
is_nullable: 0
is_primary_key: 0
is_unique: 1
name: sha256
order: 2
size:
- 0
taskid:
data_type: int
default_value: ~
is_auto_increment: 1
is_nullable: 0
is_primary_key: 1
is_unique: 0
name: taskid
order: 1
size:
- 0
indices:
- fields:
- sha256
name: task_idx_sha256
options: []
type: NORMAL
- fields:
- projectid
name: task_idx_projectid
options: []
type: NORMAL
name: task
options: []
order: 3
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
is_foreign_key: 1
sha256:
data_type: text
is_foreign_key: 1
taskid:
data_type: int
is_auto_increment: 1
_columns_info_loaded: 0
_ordered_columns:
- taskid
- sha256
- projectid
_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:
- Commit
- Project
- Task
parser_type: SQL::Translator::Parser::DBIx::Class
producer_args: {}
producer_type: SQL::Translator::Producer::YAML
show_warnings: 0
trace: 0
version: 0.11007
|