Project

General

Profile

« Previous | Next » 

Revision 12550

schemas/vegbien.sql: added new ~type tables

View differences:

vegbien.sql
2455 2455
$_$;
2456 2456

  
2457 2457

  
2458
--
2459
-- Name: ~type._plots_01_count_of_projects; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2460
--
2461

  
2462
CREATE TABLE "~type._plots_01_count_of_projects" (
2463
    projects bigint
2464
);
2465

  
2466

  
2467
--
2468
-- Name: ~type._plots_02_list_of_project_names; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2469
--
2470

  
2471
CREATE TABLE "~type._plots_02_list_of_project_names" (
2472
    project_name text
2473
);
2474

  
2475

  
2476
--
2477
-- Name: ~type._plots_03_count_of_all_plots_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2478
--
2479

  
2480
CREATE TABLE "~type._plots_03_count_of_all_plots_in_this_source" (
2481
    plots bigint
2482
);
2483

  
2484

  
2485
--
2486
-- Name: ~type._plots_04_count_of_plots_in_each_project_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2487
--
2488

  
2489
CREATE TABLE "~type._plots_04_count_of_plots_in_each_project_in_this_source" (
2490
    project_name text,
2491
    plots bigint
2492
);
2493

  
2494

  
2495
--
2496
-- Name: ~type._plots_05_list_of_plot_codes_by_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2497
--
2498

  
2499
CREATE TABLE "~type._plots_05_list_of_plot_codes_by_project" (
2500
    project_name text,
2501
    plot_code text
2502
);
2503

  
2504

  
2505
--
2506
-- Name: ~type._plots_06_list_of_plots_with_stem_measurements; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2507
--
2508

  
2509
CREATE TABLE "~type._plots_06_list_of_plots_with_stem_measurements" (
2510
    project_name text,
2511
    plot_code text
2512
);
2513

  
2514

  
2515
--
2516
-- Name: ~type._plots_10_count_of_individuals_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2517
--
2518

  
2519
CREATE TABLE "~type._plots_10_count_of_individuals_per_plot_in_each_project" (
2520
    project_name text,
2521
    plot_code text,
2522
    individuals bigint
2523
);
2524

  
2525

  
2526
--
2527
-- Name: ~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2528
--
2529

  
2530
CREATE TABLE "~type._plots_11_count_of_stems_per_plot_in_each_project" (
2531
    project_name text,
2532
    plot_code text,
2533
    stems bigint
2534
);
2535

  
2536

  
2537
--
2538
-- Name: ~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2539
--
2540

  
2541
CREATE TABLE "~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project" (
2542
    project_name text,
2543
    plot_code text,
2544
    taxa bigint
2545
);
2546

  
2547

  
2548
--
2549
-- Name: ~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2550
--
2551

  
2552
CREATE TABLE "~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_" (
2553
    project_name text,
2554
    plot_code text,
2555
    taxon text
2556
);
2557

  
2558

  
2559
--
2560
-- Name: ~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2561
--
2562

  
2563
CREATE TABLE "~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e" (
2564
    project_name text,
2565
    plot_code text,
2566
    taxon text,
2567
    individuals bigint
2568
);
2569

  
2570

  
2571
--
2572
-- Name: ~type._plots_17_count_of_subplots_per_plot_for_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
2573
--
2574

  
2575
CREATE TABLE "~type._plots_17_count_of_subplots_per_plot_for_each_project" (
2576
    project_name text,
2577
    plot_code text,
2578
    subplots bigint
2579
);
2580

  
2581

  
2458 2582
SET search_path = public, pg_catalog;
2459 2583

  
2460 2584
--
......
6373 6497

  
6374 6498

  
6375 6499
--
6376
-- Name: ~type._plots_01_count_of_projects; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6377
--
6378

  
6379
CREATE TABLE "~type._plots_01_count_of_projects" (
6380
    projects bigint
6381
);
6382

  
6383

  
6384
--
6385
-- Name: ~type._plots_02_list_of_project_names; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6386
--
6387

  
6388
CREATE TABLE "~type._plots_02_list_of_project_names" (
6389
    project_name text
6390
);
6391

  
6392

  
6393
--
6394
-- Name: ~type._plots_03_count_of_all_plots_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6395
--
6396

  
6397
CREATE TABLE "~type._plots_03_count_of_all_plots_in_this_source" (
6398
    plots bigint
6399
);
6400

  
6401

  
6402
--
6403
-- Name: ~type._plots_04_count_of_plots_in_each_project_in_this_source; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6404
--
6405

  
6406
CREATE TABLE "~type._plots_04_count_of_plots_in_each_project_in_this_source" (
6407
    project_name text,
6408
    plots bigint
6409
);
6410

  
6411

  
6412
--
6413
-- Name: ~type._plots_10_count_of_individuals_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6414
--
6415

  
6416
CREATE TABLE "~type._plots_10_count_of_individuals_per_plot_in_each_project" (
6417
    project_name text,
6418
    plot_code text,
6419
    individuals bigint
6420
);
6421

  
6422

  
6423
--
6424
-- Name: ~type._plots_11_count_of_stems_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6425
--
6426

  
6427
CREATE TABLE "~type._plots_11_count_of_stems_per_plot_in_each_project" (
6428
    project_name text,
6429
    plot_code text,
6430
    stems bigint
6431
);
6432

  
6433

  
6434
--
6435
-- Name: ~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6436
--
6437

  
6438
CREATE TABLE "~type._plots_12_count_of_verbatim_taxa_per_plot_in_each_project" (
6439
    project_name text,
6440
    plot_code text,
6441
    taxa bigint
6442
);
6443

  
6444

  
6445
--
6446
-- Name: ~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6447
--
6448

  
6449
CREATE TABLE "~type._plots_13_list_of_distinct_verbatim_taxa_in_each_plot_in_" (
6450
    project_name text,
6451
    plot_code text,
6452
    taxon text
6453
);
6454

  
6455

  
6456
--
6457
-- Name: ~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6458
--
6459

  
6460
CREATE TABLE "~type._plots_14_count_of_indiv_per_verbatim_taxon_per_plot_in_e" (
6461
    project_name text,
6462
    plot_code text,
6463
    taxon text,
6464
    individuals bigint
6465
);
6466

  
6467

  
6468
--
6469
-- Name: ~type._plots_17_count_of_subplots_per_plot_for_each_project; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6470
--
6471

  
6472
CREATE TABLE "~type._plots_17_count_of_subplots_per_plot_for_each_project" (
6473
    project_name text,
6474
    plot_code text,
6475
    subplots bigint
6476
);
6477

  
6478

  
6479
--
6480 6500
-- Name: ~type._traits_01_count_records; Type: TABLE; Schema: public_validations; Owner: -; Tablespace: 
6481 6501
--
6482 6502

  
......
9376 9396

  
9377 9397

  
9378 9398
--
9399
-- Data for Name: ~type._plots_05_list_of_plot_codes_by_project; Type: TABLE DATA; Schema: public_validations; Owner: -
9400
--
9401

  
9402

  
9403

  
9404
--
9405
-- Data for Name: ~type._plots_06_list_of_plots_with_stem_measurements; Type: TABLE DATA; Schema: public_validations; Owner: -
9406
--
9407

  
9408

  
9409

  
9410
--
9379 9411
-- Data for Name: ~type._plots_10_count_of_individuals_per_plot_in_each_project; Type: TABLE DATA; Schema: public_validations; Owner: -
9380 9412
--
9381 9413

  

Also available in: Unified diff