Skip to content

Migration Down Fails in 3.3.2 if you don't have have a return char on sql statement. #117

Closed
@h3adache

Description

@h3adache
CREATE TABLE test.[Migration Failure] (
  ID BIGINT IDENTITY PRIMARY KEY,
  [Test] VARCHAR(255) NOT NULL
);
-- //@UNDO
DROP TABLE test.[Migration Failure];

up + down successfully completes but down is an empty statement.

CREATE TABLE test.[Migration Failure] (
  ID BIGINT IDENTITY PRIMARY KEY,
  [Test] VARCHAR(255) NOT NULL
);
-- //@UNDO
DROP TABLE test.[Migration Failure];

up + down successfully correctly. The only difference is adding a return after the DROP statement.
Probably relates to #101 but need to investigate more.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions