Skip to content

Commit

Permalink
Merge pull request #47 from jokoframework/develop
Browse files Browse the repository at this point in the history
Cambiar el tipo de datos de las PK a bigserial
  • Loading branch information
alefq committed Oct 21, 2019
2 parents 3236ae6 + d6b2c4a commit c550ef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>io.github.jokoframework</groupId>
<artifactId>joko-security</artifactId>

<version>1.1.4</version>
<version>1.1.5</version>
<packaging>jar</packaging>

<properties>
Expand Down
26 changes: 4 additions & 22 deletions src/main/resources/db/liquibase/db-changelog-inicial.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,15 @@
</sql>
</changeSet>

<changeSet author="danicricco" id="1518643732286-1">
<createSequence sequenceName="joko_security.audit_session_id_seq"/>
</changeSet>
<changeSet author="danicricco" id="1518643732286-2">
<createSequence sequenceName="joko_security.consumer_api_id_seq"/>
</changeSet>
<changeSet author="danicricco" id="1518643732286-3">
<createSequence sequenceName="joko_security.principal_session_id_seq"/>
</changeSet>
<changeSet author="danicricco" id="1518643732286-4">
<createSequence sequenceName="joko_security.security_profile_id_seq"/>
</changeSet>
<changeSet author="danicricco" id="1518643732286-100">
<createSequence sequenceName="joko_security.id_seq"/>
</changeSet>



<changeSet author="danicricco" id="1518643732286-6">
<createTable tableName="consumer_api"
schemaName="joko_security"
remarks="guarda los consumer para integracion con terceros a nivel de API">
<column name="id" type="BIGINT">
<column name="id" type="BIGSERIAL">
<constraints nullable="false"/>
</column>
<column name="access_level" type="VARCHAR(255)"/>
Expand Down Expand Up @@ -61,7 +47,7 @@

<changeSet author="danicricco" id="1518643732286-8">
<createTable tableName="principal_session" schemaName="joko_security">
<column name="id" type="BIGINT">
<column name="id" type="BIGSERIAL">
<constraints nullable="false"/>
</column>
<column name="app_description" type="VARCHAR(255)"/>
Expand All @@ -83,7 +69,7 @@
<createTable tableName="security_profile"
schemaName="joko_security"
remarks="Establece la configuracion de emision de tokens para los distintos ambientes">
<column name="id" type="BIGINT">
<column name="id" type="BIGSERIAL">
<constraints nullable="false"/>
</column>
<column name="access_token_timeout_seconds" type="INT"/>
Expand Down Expand Up @@ -152,7 +138,7 @@
<createTable tableName="audit_session"
schemaName="joko_security"
remarks="Stores the last login of a given user">
<column name="id" type="BIGINT">
<column name="id" type="BIGSERIAL">
<constraints nullable="false"/>
</column>
<column name="creation_date" type="TIMESTAMP(6) WITHOUT TIME ZONE"/>
Expand All @@ -177,8 +163,4 @@
onDelete="NO ACTION" onUpdate="NO ACTION" referencedColumnNames="id" referencedTableName="principal_session" referencedTableSchemaName="joko_security"/>
</changeSet>





</databaseChangeLog>

0 comments on commit c550ef9

Please sign in to comment.