From 8bb77fbe6cb52d8ad2b1453b63a162d615ab1882 Mon Sep 17 00:00:00 2001 From: mitsuha_s Date: Fri, 21 Jul 2023 20:48:42 +0300 Subject: [PATCH] main migration changed --- migrations/Version20230720115905.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrations/Version20230720115905.php b/migrations/Version20230720115905.php index 8655fcd..b8fdee1 100644 --- a/migrations/Version20230720115905.php +++ b/migrations/Version20230720115905.php @@ -18,7 +18,7 @@ final class Version20230720115905 extends AbstractMigration public function up(Schema $schema): void { $this->addSql('CREATE SEQUENCE paste_id_seq INCREMENT BY 1 MINVALUE 1 START 1'); - $this->addSql('CREATE TABLE paste (id INT NOT NULL, text TEXT NOT NULL, private BOOLEAN NOT NULL, language VARCHAR(25), description TEXT, filename VARCHAR(128), author VARCHAR(128) NOT NULL, publish_date TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, expiration_date TIMESTAMP(0) WITHOUT TIME ZONE, ip VARCHAR(15) NOT NULL, secret VARCHAR(40), PRIMARY KEY(id))'); + $this->addSql('CREATE TABLE paste (id INT NOT NULL, text TEXT NOT NULL, language VARCHAR(25), description TEXT, filename VARCHAR(128), author VARCHAR(128) NOT NULL, publish_date TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, expiration_date TIMESTAMP(0) WITHOUT TIME ZONE, ip VARCHAR(15) NOT NULL, secret VARCHAR(40), PRIMARY KEY(id))'); } public function down(Schema $schema): void