-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into 'master'
prepare realease v.3.0.1 Closes #146 See merge request dadangnh/iam!276
- Loading branch information
Showing
10 changed files
with
590 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
gesdinet_jwt_refresh_token: | ||
refresh_token_class: App\Entity\RefreshToken | ||
ttl: 2592000 | ||
ttl: '%env(int:JWT_REFRESH_TTL)%' | ||
return_expiration: true | ||
single_use: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace DoctrineMigrations; | ||
|
||
use Doctrine\DBAL\Schema\Schema; | ||
use Doctrine\Migrations\AbstractMigration; | ||
|
||
/** | ||
* Auto-generated Migration: Please modify to your needs! | ||
*/ | ||
final class Version20240219025757 extends AbstractMigration | ||
{ | ||
public function getDescription(): string | ||
{ | ||
return ''; | ||
} | ||
|
||
public function up(Schema $schema): void | ||
{ | ||
// this up() migration is auto-generated, please modify it to your needs | ||
$this->addSql('CREATE TABLE role_aplikasi (role_id UUID NOT NULL, aplikasi_id UUID NOT NULL, PRIMARY KEY(role_id, aplikasi_id))'); | ||
$this->addSql('CREATE INDEX IDX_C182B197D60322AC ON role_aplikasi (role_id)'); | ||
$this->addSql('CREATE INDEX IDX_C182B19752224EF8 ON role_aplikasi (aplikasi_id)'); | ||
$this->addSql('COMMENT ON COLUMN role_aplikasi.role_id IS \'(DC2Type:uuid)\''); | ||
$this->addSql('COMMENT ON COLUMN role_aplikasi.aplikasi_id IS \'(DC2Type:uuid)\''); | ||
$this->addSql('ALTER TABLE role_aplikasi ADD CONSTRAINT FK_C182B197D60322AC FOREIGN KEY (role_id) REFERENCES role (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); | ||
$this->addSql('ALTER TABLE role_aplikasi ADD CONSTRAINT FK_C182B19752224EF8 FOREIGN KEY (aplikasi_id) REFERENCES aplikasi (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE'); | ||
} | ||
|
||
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('ALTER TABLE role_aplikasi DROP CONSTRAINT FK_C182B197D60322AC'); | ||
$this->addSql('ALTER TABLE role_aplikasi DROP CONSTRAINT FK_C182B19752224EF8'); | ||
$this->addSql('DROP TABLE role_aplikasi'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.