Project

General

Profile

« Previous | Next » 

Revision 13100

schemas/vegbien.sql: _specimens_16_list_distinct_specimen_descriptions: re-ran through pipeline after removing duplicated rows

View differences:

trunk/schemas/vegbien.my.sql
2286 2286
--
2287 2287

  
2288 2288
CREATE TABLE `~type._specimens_16_list_distinct_specimen_descriptions` (
2289
    `specimenDescription` varchar(255),
2290
    copies varchar(255) NOT NULL
2289
    `specimenDescription` varchar(255)
2291 2290
);
2292 2291

  
2293 2292

  
trunk/schemas/vegbien.sql
1491 1491
--
1492 1492

  
1493 1493
CREATE TYPE "values__~type._specimens_16_list_distinct_specimen_descriptions" AS (
1494
	copies bigint
1494
	"specimenDescription" text
1495 1495
);
1496 1496

  
1497 1497

  
......
3846 3846
--
3847 3847

  
3848 3848
CREATE TABLE "~type._specimens_16_list_distinct_specimen_descriptions" (
3849
    "specimenDescription" text,
3850
    copies bigint NOT NULL
3849
    "specimenDescription" text
3851 3850
);
3852 3851

  
3853 3852

  
......
4894 4893
CREATE FUNCTION values_(value "~type._specimens_16_list_distinct_specimen_descriptions") RETURNS "values__~type._specimens_16_list_distinct_specimen_descriptions"
4895 4894
    LANGUAGE sql IMMUTABLE
4896 4895
    AS $_$
4897
SELECT ROW($1.copies)::public_validations."values__~type._specimens_16_list_distinct_specimen_descriptions"
4896
SELECT ROW($1."specimenDescription")::public_validations."values__~type._specimens_16_list_distinct_specimen_descriptions"
4898 4897
$_$;
4899 4898

  
4900 4899

  

Also available in: Unified diff