-
Notifications
You must be signed in to change notification settings - Fork 0
/
population.sql
2413 lines (1945 loc) · 57.8 KB
/
population.sql
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
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
--
-- PostgreSQL database dump
--
SET statement_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: -
--
CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: -
--
COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: atributo; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE atributo (
id integer NOT NULL,
nombre character varying(20),
"tipoDato" character varying(20),
pertenece integer
);
--
-- Name: atributo_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE atributo_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: atributo_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE atributo_id_seq OWNED BY atributo.id;
--
-- Name: fase; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE fase (
id integer NOT NULL,
nombre character varying(20),
numero integer,
"fechaInicio" timestamp without time zone,
"fechaFin" timestamp without time zone,
"fechaUltMod" timestamp without time zone,
estado character varying(10),
delproyecto integer
);
--
-- Name: fase_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE fase_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: fase_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE fase_id_seq OWNED BY fase.id;
--
-- Name: item; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE item (
id integer NOT NULL,
tipo integer,
etiqueta character varying(60),
"fechaCreacion" timestamp without time zone,
linea_id integer,
usuario_creador_id integer
);
--
-- Name: item_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE item_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: item_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE item_id_seq OWNED BY item.id;
--
-- Name: item_peticion; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE item_peticion (
peticion_id integer NOT NULL,
item_id integer NOT NULL,
actual boolean
);
--
-- Name: lb_ver; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE lb_ver (
lb_id integer NOT NULL,
ver_id integer NOT NULL
);
--
-- Name: lineabase; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE lineabase (
id integer NOT NULL,
creador_id integer,
"fechaCreacion" timestamp without time zone,
numero integer,
comentario character varying(100),
fase_id integer,
estado character varying(15)
);
--
-- Name: lineabase_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE lineabase_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: lineabase_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE lineabase_id_seq OWNED BY lineabase.id;
--
-- Name: miembro; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE miembro (
proyecto_id integer NOT NULL,
user_id integer NOT NULL
);
--
-- Name: peticion; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE peticion (
id integer NOT NULL,
numero integer,
proyecto_id integer,
comentario character varying(100),
estado character varying(15),
usuario_id integer,
"cantVotos" integer,
"cantItems" integer,
"costoT" integer,
"dificultadT" integer,
"fechaCreacion" timestamp without time zone,
"fechaEnvio" timestamp without time zone,
acciones integer
);
--
-- Name: peticion_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE peticion_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: peticion_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE peticion_id_seq OWNED BY peticion.id;
--
-- Name: proyecto; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE proyecto (
id integer NOT NULL,
nombre character varying(20),
"cantFase" integer,
"fechaInicio" timestamp without time zone,
"fechaFin" timestamp without time zone,
"fechaUltMod" timestamp without time zone,
delider integer,
estado character varying(10)
);
--
-- Name: proyecto_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE proyecto_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: proyecto_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE proyecto_id_seq OWNED BY proyecto.id;
--
-- Name: relacion; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE relacion (
id integer NOT NULL,
ante_id integer,
post_id integer,
tipo character varying(10)
);
--
-- Name: relacion_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE relacion_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: relacion_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE relacion_id_seq OWNED BY relacion.id;
--
-- Name: rol; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE rol (
id integer NOT NULL,
fase_id integer,
nombre character varying(30),
"codigoTipo" integer,
"codigoItem" integer,
"codigoLB" integer
);
--
-- Name: rol_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE rol_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: rol_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE rol_id_seq OWNED BY rol.id;
--
-- Name: tipoitem; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE tipoitem (
id integer NOT NULL,
nombre character varying(20),
comentario character varying(100),
defase integer,
"fechaCreacion" timestamp without time zone,
"fechaModificacion" timestamp without time zone,
usuario_creador_id integer,
usuario_modificador_id integer
);
--
-- Name: tipoitem_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE tipoitem_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: tipoitem_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE tipoitem_id_seq OWNED BY tipoitem.id;
--
-- Name: user_rol; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE user_rol (
usuario_id integer NOT NULL,
rol_id integer NOT NULL
);
--
-- Name: usuario; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE usuario (
id integer NOT NULL,
nombre character varying(20),
nombredeusuario character varying(20),
clave character varying(41),
"isAdmin" boolean
);
--
-- Name: usuario_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE usuario_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: usuario_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE usuario_id_seq OWNED BY usuario.id;
--
-- Name: valorbool; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE valorbool (
atributo_id integer NOT NULL,
item_id integer NOT NULL,
valor boolean
);
--
-- Name: valordate; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE valordate (
atributo_id integer NOT NULL,
item_id integer NOT NULL,
valor timestamp without time zone
);
--
-- Name: valorfile; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE valorfile (
id integer NOT NULL,
item_id integer,
valor bytea,
nombre character varying(200)
);
--
-- Name: valorfile_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE valorfile_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: valorfile_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE valorfile_id_seq OWNED BY valorfile.id;
--
-- Name: valorint; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE valorint (
atributo_id integer NOT NULL,
item_id integer NOT NULL,
valor real
);
--
-- Name: valorstr; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE valorstr (
atributo_id integer NOT NULL,
item_id integer NOT NULL,
valor character varying(200)
);
--
-- Name: vitem; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE vitem (
id integer NOT NULL,
version integer,
nombre character varying(20),
estado character varying(20),
actual boolean,
costo integer,
dificultad integer,
"fechaModificacion" timestamp without time zone,
deitem integer,
usuario_modificador_id integer
);
--
-- Name: vitem_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE vitem_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: vitem_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE vitem_id_seq OWNED BY vitem.id;
--
-- Name: voto; Type: TABLE; Schema: public; Owner: -; Tablespace:
--
CREATE TABLE voto (
peticion_id integer NOT NULL,
user_id integer NOT NULL,
valor boolean
);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY atributo ALTER COLUMN id SET DEFAULT nextval('atributo_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY fase ALTER COLUMN id SET DEFAULT nextval('fase_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY item ALTER COLUMN id SET DEFAULT nextval('item_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY lineabase ALTER COLUMN id SET DEFAULT nextval('lineabase_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY peticion ALTER COLUMN id SET DEFAULT nextval('peticion_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY proyecto ALTER COLUMN id SET DEFAULT nextval('proyecto_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY relacion ALTER COLUMN id SET DEFAULT nextval('relacion_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY rol ALTER COLUMN id SET DEFAULT nextval('rol_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY tipoitem ALTER COLUMN id SET DEFAULT nextval('tipoitem_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY usuario ALTER COLUMN id SET DEFAULT nextval('usuario_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY valorfile ALTER COLUMN id SET DEFAULT nextval('valorfile_id_seq'::regclass);
--
-- Name: id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY vitem ALTER COLUMN id SET DEFAULT nextval('vitem_id_seq'::regclass);
--
-- Data for Name: atributo; Type: TABLE DATA; Schema: public; Owner: -
--
COPY atributo (id, nombre, "tipoDato", pertenece) FROM stdin;
2 Genera Documento Booleano 1
3 Revision Fecha 1
4 ID interno Numerico 2
5 Descripcion Cadena 2
6 Experimental Booleano 2
7 Interno Booleano 3
8 Revision Fecha 3
9 Descripcion Cadena 3
12 Revision Fecha 4
15 Clave Cadena 4
16 Nuevo Booleano 4
10 Fabricable Booleano 3
1 Notas Cadena 1
17 Nombre clave Cadena 5
18 Revision Fecha 5
19 Empotrado Booleano 5
20 Novel Booleano 5
21 Interno Booleano 6
22 Notas Cadena 6
23 Notas Cadena 7
24 ISA compatible Booleano 7
25 Tiempo Numerico 8
26 Notas Cadena 8
27 Exito Booleano 8
28 Tiempo Numerico 9
29 Notas Cadena 9
30 Mass ready Booleano 9
31 Radio Numerico 10
32 Relleno Booleano 10
33 X Numerico 11
34 Y Numerico 11
35 Z Numerico 11
36 Equilatero Booleano 11
37 Lado Numerico 12
38 Nota Cadena 12
39 Longitud Numerico 13
40 Punteada Booleano 13
41 Descripcion Cadena 13
42 Descripcion Cadena 14
43 X Numerico 14
44 Y Numerico 14
45 Lado Numerico 15
46 Revision Fecha 15
47 RA Numerico 16
48 RB Numerico 16
49 Notas Cadena 16
50 X Numerico 17
51 Y Numerico 17
52 Punteada Booleano 17
53 Estable Booleano 18
54 Lado Numerico 18
55 Nota Cadena 18
56 Revision Fecha 18
57 Lado Numerico 19
58 Nota Cadena 19
59 Descripcion Cadena 20
60 Revision Fecha 20
61 Solido Booleano 20
62 Puntas Numerico 21
63 Punteada Booleano 21
64 Notas Cadena 21
65 Revision Fecha 21
66 Paginas Numerico 22
67 Autor Cadena 22
68 Fecha Fecha 23
69 Completo Booleano 23
70 Monografia Booleano 24
71 Completo Booleano 24
72 Materia Cadena 25
73 Aprobado Booleano 25
\.
--
-- Name: atributo_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('atributo_id_seq', 73, true);
--
-- Data for Name: fase; Type: TABLE DATA; Schema: public; Owner: -
--
COPY fase (id, nombre, numero, "fechaInicio", "fechaFin", "fechaUltMod", estado, delproyecto) FROM stdin;
3 Gama 3 2013-12-02 00:00:00 2014-03-01 00:00:00 2013-07-05 13:27:15.608814 Abierta 1
8 Estudiar 1 2013-08-01 00:00:00 2013-08-15 00:00:00 2013-07-05 15:36:27.829606 Cerrada 3
2 Beta 2 2013-09-02 00:00:00 2013-12-01 00:00:00 2013-07-05 13:17:10.837039 Abierta 1
9 Rendir 2 2013-08-16 00:00:00 2013-09-01 00:00:00 2013-07-05 15:40:41.957931 Abierta 3
7 GrandGeometry 3 2013-08-02 00:00:00 2013-09-01 00:00:00 2013-07-05 15:24:19.510757 Abierta 2
1 Alfa 1 2013-06-01 00:00:00 2013-09-01 00:00:00 2013-07-05 12:22:54.77703 Abierta 1
6 Complicando Formas 2 2013-07-02 00:00:00 2013-08-01 00:00:00 2013-07-05 14:20:58.045586 Cerrada 2
5 Formas Basicas 1 2013-06-01 00:00:00 2013-07-01 00:00:00 2013-07-05 14:08:36.566858 Cerrada 2
4 Delta 4 2014-03-02 00:00:00 2014-06-01 00:00:00 2013-07-05 23:44:45.261539 Abierta 1
\.
--
-- Name: fase_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('fase_id_seq', 9, true);
--
-- Data for Name: item; Type: TABLE DATA; Schema: public; Owner: -
--
COPY item (id, tipo, etiqueta, "fechaCreacion", linea_id, usuario_creador_id) FROM stdin;
7 1 1-1-20 2013-07-05 10:02:22.618785 \N 2
1 1 1-1-1 2013-07-04 22:00:04.308328 2 2
2 1 1-1-2 2013-07-04 22:00:24.883391 2 2
3 1 1-1-7 2013-07-04 22:03:18.754222 4 2
4 2 1-1-11 2013-07-04 22:05:47.856005 4 2
5 2 1-1-14 2013-07-05 09:59:17.016962 4 2
6 2 1-1-17 2013-07-05 10:00:08.301692 4 2
8 3 1-2-1 2013-07-05 12:57:33.98838 5 2
9 3 1-2-4 2013-07-05 13:00:29.39333 6 2
10 3 1-2-7 2013-07-05 13:09:21.794007 6 2
12 4 1-2-13 2013-07-05 13:11:40.548171 6 2
11 4 1-2-10 2013-07-05 13:10:42.384573 6 2
13 3 1-2-16 2013-07-05 13:12:49.384376 6 2
14 5 1-3-1 2013-07-05 13:20:53.728145 7 2
15 5 1-3-4 2013-07-05 13:21:37.616806 7 2
16 5 1-3-7 2013-07-05 13:22:30.632315 8 2
17 6 1-3-10 2013-07-05 13:23:49.302305 8 2
18 6 1-3-13 2013-07-05 13:24:41.222259 8 2
19 9 1-4-1 2013-07-05 13:31:11.050432 \N 2
20 8 1-4-4 2013-07-05 13:32:23.287148 \N 2
21 7 1-4-8 2013-07-05 13:34:19.897199 \N 2
22 9 1-4-12 2013-07-05 13:35:44.607363 \N 2
23 10 2-5-1 2013-07-05 13:48:18.240736 9 3
24 10 2-5-4 2013-07-05 13:52:31.871646 9 3
25 11 2-5-7 2013-07-05 13:53:03.749773 10 3
26 11 2-5-10 2013-07-05 13:53:46.728944 10 3
27 11 2-5-13 2013-07-05 13:54:21.315959 10 3
29 10 2-5-19 2013-07-05 13:56:31.854397 11 3
28 12 2-5-16 2013-07-05 13:55:22.864941 11 3
30 12 2-5-22 2013-07-05 13:57:32.119984 11 3
31 12 2-5-25 2013-07-05 14:01:25.487166 11 3
32 13 2-5-29 2013-07-05 14:05:47.166599 12 3
33 14 2-6-1 2013-07-05 14:13:42.237696 13 3
34 14 2-6-4 2013-07-05 14:14:24.27631 13 3
35 15 2-6-7 2013-07-05 14:15:20.351715 13 3
36 16 2-6-10 2013-07-05 14:16:31.91073 14 3
37 17 2-6-13 2013-07-05 14:18:34.297967 15 3
38 18 2-7-1 2013-07-05 15:16:42.462378 16 3
40 18 2-7-7 2013-07-05 15:18:12.666601 16 3
39 19 2-7-4 2013-07-05 15:17:29.799642 16 3
41 20 2-7-10 2013-07-05 15:19:11.855038 17 3
42 20 2-7-13 2013-07-05 15:20:00.103931 17 3
43 20 2-7-16 2013-07-05 15:21:02.57153 17 3
44 21 2-7-19 2013-07-05 15:21:59.648496 18 3
45 22 3-8-1 2013-07-05 15:31:46.327095 19 4
46 22 3-8-4 2013-07-05 15:32:29.146505 20 4
47 22 3-8-7 2013-07-05 15:32:57.828194 21 4
48 23 3-8-10 2013-07-05 15:33:39.985293 21 4
49 24 3-9-1 2013-07-05 15:37:59.932601 \N 4
50 25 3-9-3 2013-07-05 15:38:19.296975 \N 4
51 24 3-9-7 2013-07-05 15:39:14.923822 \N 4
52 25 3-9-10 2013-07-05 15:40:10.917323 \N 4
\.
--
-- Name: item_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('item_id_seq', 52, true);
--
-- Data for Name: item_peticion; Type: TABLE DATA; Schema: public; Owner: -
--
COPY item_peticion (peticion_id, item_id, actual) FROM stdin;
1 25 f
2 24 f
2 26 f
2 44 f
\.
--
-- Data for Name: lb_ver; Type: TABLE DATA; Schema: public; Owner: -
--
COPY lb_ver (lb_id, ver_id) FROM stdin;
3 10
3 13
3 16
3 19
\.
--
-- Data for Name: lineabase; Type: TABLE DATA; Schema: public; Owner: -
--
COPY lineabase (id, creador_id, "fechaCreacion", numero, comentario, fase_id, estado) FROM stdin;
2 2 2013-07-05 10:04:09.422009 1 Experiencias anteriores, aplicadas en la nueva arquitectura 1 Cerrada
3 2 2013-07-05 10:05:36.966278 2 Requerimientos completos 1 Quebrada
4 2 2013-07-05 12:22:26.75339 3 Requerimientos revisados y completos 1 Cerrada
5 2 2013-07-05 13:15:33.726857 1 Extensiones Listas 2 Cerrada
6 2 2013-07-05 13:15:49.916433 2 Prototipos y documentacion lista 2 Cerrada
7 2 2013-07-05 13:26:09.768802 1 Versiones Especiales Ready For Mass production 3 Cerrada
8 2 2013-07-05 13:26:40.106739 2 Versiones mainstream y documentos 3 Cerrada
9 3 2013-07-05 14:06:39.735136 1 Circulos listos 5 Cerrada
10 3 2013-07-05 14:06:59.006015 2 Triangulos listos 5 Cerrada
11 3 2013-07-05 14:07:22.798512 3 Cuadrados listos (circulo incluido) 5 Cerrada
12 3 2013-07-05 14:08:01.25102 4 Linea Lista 5 Cerrada
13 3 2013-07-05 14:19:14.38115 1 Rectangulo y Pentagono 6 Cerrada
14 3 2013-07-05 14:20:21.572329 2 Ovalo 6 Cerrada
15 3 2013-07-05 14:20:34.20645 3 Crux 6 Cerrada
16 3 2013-07-05 15:23:15.744411 1 Geometria Completa 7 Cerrada
17 3 2013-07-05 15:23:45.631684 2 Amorfos completos 7 Cerrada
18 3 2013-07-05 15:24:07.459255 3 Masterpiece 7 Cerrada
19 4 2013-07-05 15:34:51.830196 1 Ya estudio calculo I 8 Cerrada
20 4 2013-07-05 15:35:08.164854 2 Ya sabe Integrar 8 Cerrada
21 4 2013-07-05 15:35:35.042032 3 Ya estudio y termino su trabajo practico para fisica II 8 Cerrada
\.
--
-- Name: lineabase_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('lineabase_id_seq', 21, true);
--
-- Data for Name: miembro; Type: TABLE DATA; Schema: public; Owner: -
--
COPY miembro (proyecto_id, user_id) FROM stdin;
2 3
3 4
3 2
3 3
1 2
1 3
1 4
\.
--
-- Data for Name: peticion; Type: TABLE DATA; Schema: public; Owner: -
--
COPY peticion (id, numero, proyecto_id, comentario, estado, usuario_id, "cantVotos", "cantItems", "costoT", "dificultadT", "fechaCreacion", "fechaEnvio", acciones) FROM stdin;
1 1 1 Cuarzo depende de minerales Terminada 2 3 1 250000 13 2013-07-05 12:20:10.724179 2013-07-05 12:20:21.137821 100
2 2 1 Cambiar los costos Rechazada 2 1 3 1032000 67 2013-07-05 23:38:07.428813 2013-07-05 23:38:27.356253 1
\.
--
-- Name: peticion_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('peticion_id_seq', 2, true);
--
-- Data for Name: proyecto; Type: TABLE DATA; Schema: public; Owner: -
--
COPY proyecto (id, nombre, "cantFase", "fechaInicio", "fechaFin", "fechaUltMod", delider, estado) FROM stdin;
2 Geometria 3 2013-06-01 00:00:00 2013-09-01 00:00:00 2013-07-05 15:24:19.529124 3 Iniciado
3 Semestre 2 2013-07-01 00:00:00 2013-08-01 00:00:00 2013-07-05 15:40:41.976195 4 Iniciado
1 BroadWell 4 2013-06-01 00:00:00 2014-06-01 00:00:00 2013-07-05 23:44:45.332319 2 Iniciado
\.
--
-- Name: proyecto_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
--
SELECT pg_catalog.setval('proyecto_id_seq', 3, true);
--
-- Data for Name: relacion; Type: TABLE DATA; Schema: public; Owner: -
--
COPY relacion (id, ante_id, post_id, tipo) FROM stdin;
1 3 4 P-H
2 5 4 P-H
3 3 6 P-H
4 5 6 P-H
5 16 18 P-H
6 10 18 P-H
7 16 19 P-H
8 10 19 P-H
9 23 18 P-H
10 23 19 P-H
11 25 18 P-H
12 25 19 P-H
13 16 26 P-H
14 10 26 P-H
15 23 26 P-H
16 25 26 P-H
17 24 25 P-H
18 6 28 A-S
19 6 29 A-S
20 6 31 A-S
21 6 32 A-S
22 26 34 A-S
23 26 35 A-S
24 32 37 P-H
25 32 38 P-H
26 32 40 P-H
27 35 40 P-H
28 32 41 P-H
29 35 41 P-H
30 41 42 P-H
31 41 43 P-H
32 41 44 P-H
33 29 46 A-S
34 29 47 A-S
35 38 49 A-S
36 38 50 A-S
37 44 52 A-S
38 44 53 A-S
39 44 55 A-S
40 44 56 A-S
41 56 57 P-H
42 56 58 P-H
43 56 59 P-H
44 47 61 A-S
45 47 62 A-S
46 47 64 A-S
47 50 64 A-S
48 47 65 A-S
49 50 65 A-S
50 47 66 A-S
51 50 66 A-S
52 56 69 A-S
53 56 70 A-S
54 53 72 A-S
55 53 73 A-S
56 76 78 P-H
57 76 79 P-H
58 82 87 P-H
59 85 87 P-H
60 82 88 P-H
61 85 88 P-H
62 91 95 P-H
63 91 97 P-H
64 94 98 P-H
65 97 98 P-H
66 94 100 P-H
67 97 100 P-H
68 94 101 P-H
69 97 101 P-H
70 79 106 A-S
71 79 107 A-S
72 107 109 P-H
73 107 110 P-H
74 110 112 P-H
75 88 112 A-S
76 110 113 P-H
77 88 113 A-S
78 94 115 A-S
79 94 116 A-S
80 104 118 A-S
81 104 119 A-S
82 113 121 A-S
83 113 122 A-S
84 122 124 P-H
85 122 125 P-H
86 122 127 P-H
87 122 128 P-H
88 116 130 A-S
89 116 131 A-S
90 131 133 P-H
91 131 134 P-H
92 131 136 P-H
93 131 137 P-H