Skip to content

Commit

Permalink
remove useless migration
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Oct 29, 2024
1 parent 8162bc8 commit c07144a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.
4 changes: 2 additions & 2 deletions api/migrations/Version20210930074739.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ public function getDescription(): string
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SEQUENCE greeting_id_seq INCREMENT BY 1 MINVALUE 1 START 1');
$this->addSql('CREATE TABLE greeting (id INT NOT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
$this->addSql('CREATE SEQUENCE greeting_seq INCREMENT BY 100 MINVALUE 1 START 1');
}

public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('DROP SEQUENCE greeting_id_seq CASCADE');
$this->addSql('DROP SEQUENCE greeting_seq CASCADE');
$this->addSql('DROP TABLE greeting');
}
}
34 changes: 0 additions & 34 deletions api/migrations/Version20240305143335.php

This file was deleted.

0 comments on commit c07144a

Please sign in to comment.