Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Newer versions of do_hsqldb need lengths for VARCHAR / VARBINARY
Browse files Browse the repository at this point in the history
  • Loading branch information
dbussink committed Jan 21, 2013
1 parent 1ca67dd commit 4f7f641
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions do_hsqldb/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ def setup_test_environment
id INTEGER IDENTITY,
code CHAR(8) DEFAULT 'A14' NULL,
name VARCHAR(200) DEFAULT 'Super Widget' NULL,
shelf_location VARCHAR NULL,
shelf_location VARCHAR(200) NULL,
description LONGVARCHAR NULL,
image_data VARBINARY NULL,
image_data VARBINARY(1024) NULL,
ad_description LONGVARCHAR NULL,
ad_image VARBINARY NULL,
ad_image VARBINARY(1024) NULL,
whitepaper_text LONGVARCHAR NULL,
cad_drawing LONGVARBINARY NULL,
flags BOOLEAN DEFAULT 0,
Expand All @@ -83,7 +83,7 @@ def setup_test_environment
super_number BIGINT DEFAULT 9223372036854775807,
weight FLOAT DEFAULT 1.23,
cost1 REAL DEFAULT 10.23,
cost2 DECIMAL DEFAULT 50.23,
cost2 DECIMAL(10,2) DEFAULT 50.23,
release_date DATE DEFAULT '2008-02-14',
release_datetime DATETIME DEFAULT '2008-02-14 00:31:12',
release_timestamp TIMESTAMP DEFAULT '2008-02-14 00:31:31'
Expand Down

0 comments on commit 4f7f641

Please sign in to comment.