diff --git a/all_data.sql b/all_data.sql index 47e3531..809c03e 100644 --- a/all_data.sql +++ b/all_data.sql @@ -1436,7 +1436,7 @@ CREATE TABLE employee ( first_name VARCHAR(60) NOT NULL , last_name VARCHAR(60) NOT NULL , email VARCHAR(60) NOT NULL UNIQUE , - afm INT NOT NULL UNIQUE , + afm NUMERIC(8,0) NOT NULL UNIQUE , PRIMARY KEY (id) ); @@ -1461,7 +1461,7 @@ CREATE TABLE customers ( id SERIAL NOT NULL , first_name VARCHAR(60) NOT NULL , last_name VARCHAR(60) NOT NULL , - afm INT NOT NULL UNIQUE, + afm NUMERIC(8,0) NOT NULL UNIQUE , email VARCHAR(60) NOT NULL UNIQUE , phone VARCHAR(10) NOT NULL UNIQUE ,