All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.changelogs.v3_20_0.3.20.0-add-verify-attempt-table.yml Maven / Gradle / Ivy

There is a newer version: 4.6.0-alpha.2
Show newest version
databaseChangeLog:
  - changeSet:
      id: 3.20.0-add-verify-attempt-table
      author: GraviteeSource Team
      changes:
        #############################
        # Verify_Attempt #
        ############################
        - createTable:
            tableName: verify_attempt
            columns:
              - column: { name: id, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: reference_id, type: nvarchar(255), constraints: { nullable: false } }
              - column: { name: reference_type, type: nvarchar(64), constraints: { nullable: false } }
              - column: { name: user_id, type: nvarchar(255), constraints: { nullable: false } }
              - column: { name: client, type: nvarchar(255), constraints: { nullable: false } }
              - column: { name: factor_id, type: nvarchar(255), constraints: { nullable: false } }
              - column: { name: attempts, type: integer, constraints: { nullable: false } }
              - column: { name: allow_request, type: boolean, constraints: { nullable: false } }
              - column: { name: created_at, type: timestamp(6), constraints: { nullable: false } }
              - column: { name: updated_at, type: timestamp(6), constraints: { nullable: false } }

        - addPrimaryKey:
            constraintName: pk_verify_attempt
            columnNames: id
            tableName: verify_attempt

        - createIndex:
            columns:
              - column:
                  name: user_id
              - column:
                  name: client
              - column:
                  name: factor_id
            indexName: idx_verify_attempt_userid_client_factorid
            tableName: verify_attempt
            unique: false




© 2015 - 2024 Weber Informatics LLC | Privacy Policy