From 18218c41328dd70d1bff3e1202f20729125b2548 Mon Sep 17 00:00:00 2001 From: Gevik Babakhani Date: Sat, 1 Jun 2013 12:37:47 +0200 Subject: [PATCH] Removed unused columns. --- tests/unit/data/postgres.sql | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/unit/data/postgres.sql b/tests/unit/data/postgres.sql index 6a02691..52fad0f 100644 --- a/tests/unit/data/postgres.sql +++ b/tests/unit/data/postgres.sql @@ -11,25 +11,12 @@ DROP TABLE IF EXISTS tbl_category CASCADE; DROP TABLE IF EXISTS tbl_customer CASCADE; DROP TABLE IF EXISTS tbl_type CASCADE; -drop type if exists fullname cascade; -create type fullname as (firstname varchar,lastname varchar); - -drop type if exists mood cascade; -create type mood as enum ('sad','ok','happy',E'own\'s',E'\"quoted\"'); - - CREATE TABLE tbl_customer ( id serial not null primary key, email varchar(128) NOT NULL, name varchar(128) NOT NULL, - age numeric(3), - zipcode varchar(6), address text, - status integer DEFAULT 0, - fullname fullname, - mood mood, - numbers integer[], - amount numeric(6,4) + status integer DEFAULT 0 ); comment on column public.tbl_customer.email is 'someone@example.com';