Skip to content

Commit eb459bc

Browse files
committed
[Tests@MSSQL] - Fix shouldIncludeMultipleMany2ManyOverridesOnOneModel (#721)
Increase a couple of VARCHAR sizes in mssql_schema.sql in order to match other DB schemas and prevent test failures.
1 parent 09da789 commit eb459bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activejdbc/src/test/resources/mssql_schema.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,19 +425,19 @@ IF object_id('dbo.bands') IS NOT NULL
425425
BEGIN
426426
DROP TABLE [dbo].[bands]
427427
END
428-
CREATE TABLE bands (band_id INT IDENTITY PRIMARY KEY, name VARCHAR(10) NOT NULL);
428+
CREATE TABLE bands (band_id INT IDENTITY PRIMARY KEY, name VARCHAR(56) NOT NULL);
429429

430430
IF object_id('dbo.genres') IS NOT NULL
431431
BEGIN
432432
DROP TABLE [dbo].[genres]
433433
END
434-
CREATE TABLE genres (genre_id INT IDENTITY PRIMARY KEY, name VARCHAR(10) NOT NULL);
434+
CREATE TABLE genres (genre_id INT IDENTITY PRIMARY KEY, name VARCHAR(56) NOT NULL);
435435

436436
IF object_id('dbo.musicians') IS NOT NULL
437437
BEGIN
438438
DROP TABLE [dbo].[musicians]
439439
END
440-
CREATE TABLE musicians (musician_id INT IDENTITY PRIMARY KEY, first_name VARCHAR(10) NOT NULL, last_name VARCHAR(10) NOT NULL);
440+
CREATE TABLE musicians (musician_id INT IDENTITY PRIMARY KEY, first_name VARCHAR(56) NOT NULL, last_name VARCHAR(56) NOT NULL);
441441

442442
IF object_id('dbo.bands_genres') IS NOT NULL
443443
BEGIN

0 commit comments

Comments
 (0)