From 6543956e139597e521c52a7e4b51d1b73893f60a Mon Sep 17 00:00:00 2001 From: vlejd Date: Sun, 28 Jan 2024 14:10:18 +0100 Subject: [PATCH] Update ORM for Fall 2023 edition. --- README.md | 3 ++- create_patstat_tables.sql | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1456f8..8d263cb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Introduction -These scripts are based on those developed at altay-oz/load_patstat. +These scripts are based on those developed at altay-oz/load_patstat. The bulk downloads provided by EPO are served as batches of zip files. This script assumes you have already downloaded and extracted these zip files, and @@ -17,6 +17,7 @@ on localhost. This repository contains scripts tested for the following PATSTAT versions (see the releases in this repository for corresponding versions): * Spring 2022* * Fall 2022* +* Fall 2023 Releases marked with an asterisk have one or more point releases available for bugfixes. Always use the latest release for your version of PATSTAT. diff --git a/create_patstat_tables.sql b/create_patstat_tables.sql index 0bc7bc9..5346df8 100644 --- a/create_patstat_tables.sql +++ b/create_patstat_tables.sql @@ -5,6 +5,7 @@ CREATE TABLE tls201_appln ( appln_kind char(2) DEFAULT '' NOT NULL, appln_filing_date date DEFAULT '9999-12-31' NOT NULL, appln_filing_year smallint DEFAULT '9999' NOT NULL, + appln_nr_epodoc varchar(20) DEFAULT '' NOT NULL, appln_nr_original varchar(100) DEFAULT '' NOT NULL, ipr_type char(2) DEFAULT '' NOT NULL, receiving_office char(2) DEFAULT '' NOT NULL, @@ -277,7 +278,7 @@ CREATE TABLE tls231_inpadoc_legal_event ( CREATE TABLE tls801_country ( ctry_code char(2) DEFAULT '' NOT NULL, - iso_alph3 varchar(3) DEFAULT '' NOT NULL, + iso_alpha3 varchar(3) DEFAULT '' NOT NULL, st3_name varchar(100) DEFAULT '' NOT NULL, organisation_flag char(1) DEFAULT '' NOT NULL, continent varchar(25) DEFAULT '' NOT NULL,