Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiogouw committed Sep 21, 2021
1 parent 83236a0 commit a32eca9
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/SuperSurvey.Adapters.Tests/MySQLPollRepositoryTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@ namespace SuperSurvey.Adapters.Tests
{
public class MySQLPollRepositoryTests
{
private readonly string CREATE_TABLE_SCRIPT =
@"USE db;
CREATE TABLE `Polls` (
`Id` INT NOT NULL,
`Name` VARCHAR(255) NOT NULL,
`ExpiresAt` DATETIME NOT NULL,
`UpdatedAt` DATETIME NOT NULL,
KEY `Ix_Expires` (`ExpiresAt`) USING BTREE,
PRIMARY KEY(`Id`)
);
CREATE TABLE `Options` (
`Id` INT NOT NULL,
`PollId` INT NOT NULL,
`Description` VARCHAR(255) NOT NULL,
`PictureUrl` VARCHAR(255) NULL,
`VoteCount` INT NOT NULL,
`UpdatedAt` DATETIME NOT NULL,
PRIMARY KEY(`Id`),
FOREIGN KEY (PollId) REFERENCES Polls(Id)
);
private readonly string CREATE_TABLE_SCRIPT =@"
USE db;
CREATE TABLE `Polls` (
`Id` INT NOT NULL,
`Name` VARCHAR(255) NOT NULL,
`ExpiresAt` DATETIME NOT NULL,
`UpdatedAt` DATETIME NOT NULL,
KEY `Ix_Expires` (`ExpiresAt`) USING BTREE,
PRIMARY KEY(`Id`)
);
CREATE TABLE `Options` (
`Id` INT NOT NULL,
`PollId` INT NOT NULL,
`Description` VARCHAR(255) NOT NULL,
`PictureUrl` VARCHAR(255) NULL,
`VoteCount` INT NOT NULL,
`UpdatedAt` DATETIME NOT NULL,
PRIMARY KEY(`Id`),
FOREIGN KEY (PollId) REFERENCES Polls(Id)
);
";

[Fact]
Expand Down

0 comments on commit a32eca9

Please sign in to comment.