You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -115,7 +110,6 @@ deptrac-check-unassigned: # Покрытие кода с deptrac
115
110
docker compose run --rm backend-cli vendor/bin/deptrac debug:unassigned --config-file=src-dev/deptrac.yaml | tee /dev/stderr | grep 'There are no unassigned tokens'
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719151750.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,8 @@ public function getDescription(): string
16
16
return'Пользователь и токен авторизации';
17
17
}
18
18
19
-
#[Override]
20
19
publicfunctionup(Schema$schema): void
21
20
{
22
-
// this up() migration is auto-generated, please modify it to your needs
23
21
$this->addSql('CREATE TABLE "user" (id UUID NOT NULL, user_role VARCHAR(255) NOT NULL, is_confirmed BOOLEAN NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, user_email_value VARCHAR(255) NOT NULL, confirm_token_value UUID NOT NULL, user_password_value VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
24
22
$this->addSql('CREATE UNIQUE INDEX UNIQ_8D93D649B6244599 ON "user" (confirm_token_value)');
25
23
$this->addSql('CREATE TABLE user_token (id UUID NOT NULL, user_id UUID NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, PRIMARY KEY(id))');
@@ -29,7 +27,6 @@ public function up(Schema $schema): void
29
27
#[Override]
30
28
publicfunctiondown(Schema$schema): void
31
29
{
32
-
// this down() migration is auto-generated, please modify it to your needs
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719151844.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,18 +16,15 @@ public function getDescription(): string
16
16
return'Профиль';
17
17
}
18
18
19
-
#[Override]
20
19
publicfunctionup(Schema$schema): void
21
20
{
22
-
// this up() migration is auto-generated, please modify it to your needs
23
21
$this->addSql('CREATE TABLE profile (id UUID NOT NULL, user_id UUID NOT NULL, name VARCHAR(255) NOT NULL, phone_value VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
24
22
$this->addSql('CREATE INDEX ix_profile_user_id ON profile (user_id)');
25
23
}
26
24
27
25
#[Override]
28
26
publicfunctiondown(Schema$schema): void
29
27
{
30
-
// this down() migration is auto-generated, please modify it to your needs
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719151911.php
+16-19Lines changed: 16 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -17,51 +17,48 @@ public function getDescription(): string
17
17
return'Настройки';
18
18
}
19
19
20
-
#[Override]
21
20
publicfunctionup(Schema$schema): void
22
21
{
23
-
// this up() migration is auto-generated, please modify it to your needs
24
22
$this->addSql('CREATE TABLE setting (id UUID NOT NULL, value VARCHAR(255) NOT NULL, type VARCHAR(255) NOT NULL, is_public BOOLEAN NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, PRIMARY KEY(id))');
25
23
$this->addSql('CREATE UNIQUE INDEX UNIQ_9F74B8988CDE5729 ON setting (type)');
26
24
27
25
$this->addSql(
28
-
"INSERT INTO setting (id, type, value, is_public, created_at, updated_at)
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719151932.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,14 @@ public function getDescription(): string
16
16
return'Статьи';
17
17
}
18
18
19
-
#[Override]
20
19
publicfunctionup(Schema$schema): void
21
20
{
22
-
// this up() migration is auto-generated, please modify it to your needs
23
21
$this->addSql('CREATE TABLE article (id UUID NOT NULL, title VARCHAR(255) NOT NULL, alias VARCHAR(255) NOT NULL, body TEXT NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, PRIMARY KEY(id))');
24
22
}
25
23
26
24
#[Override]
27
25
publicfunctiondown(Schema$schema): void
28
26
{
29
-
// this down() migration is auto-generated, please modify it to your needs
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719151955.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,8 @@ public function getDescription(): string
16
16
return'Задачи';
17
17
}
18
18
19
-
#[Override]
20
19
publicfunctionup(Schema$schema): void
21
20
{
22
-
// this up() migration is auto-generated, please modify it to your needs
23
21
$this->addSql('CREATE TABLE task (id UUID NOT NULL, user_id UUID NOT NULL, is_completed BOOLEAN NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, completed_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, task_name_value VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
24
22
$this->addSql('CREATE INDEX ix_task_user_id ON task (user_id)');
25
23
$this->addSql('CREATE TABLE task_comment (id UUID NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, body_value VARCHAR(255) NOT NULL, task_id UUID NOT NULL, PRIMARY KEY(id))');
@@ -30,7 +28,6 @@ public function up(Schema $schema): void
30
28
#[Override]
31
29
publicfunctiondown(Schema$schema): void
32
30
{
33
-
// this down() migration is auto-generated, please modify it to your needs
34
31
$this->addSql('ALTER TABLE task_comment DROP CONSTRAINT FK_8B9578868DB60186');
Copy file name to clipboardExpand all lines: backend/migrations/Version20240719152016.php
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,18 +16,15 @@ public function getDescription(): string
16
16
return'СЕО';
17
17
}
18
18
19
-
#[Override]
20
19
publicfunctionup(Schema$schema): void
21
20
{
22
-
// this up() migration is auto-generated, please modify it to your needs
23
21
$this->addSql('CREATE TABLE seo (id UUID NOT NULL, type VARCHAR(255) NOT NULL, identity VARCHAR(255) NOT NULL, title VARCHAR(255) NOT NULL, description TEXT DEFAULT NULL, keywords TEXT DEFAULT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updated_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, PRIMARY KEY(id))');
24
22
$this->addSql('CREATE UNIQUE INDEX UNIQ_6C71EC308CDE5729 ON seo (type)');
25
23
}
26
24
27
25
#[Override]
28
26
publicfunctiondown(Schema$schema): void
29
27
{
30
-
// this down() migration is auto-generated, please modify it to your needs
0 commit comments