Back to Openemr

onetime_auth

Documentation/EHI_Export/docs/tables/onetime_auth.html

latest1.4 KB
Original Source

Columns

ColumnTypeSizeNullsAutoDefaultChildrenParentsComments
idINT10null

|

| | | pid | BIGINT | 19 | √ | | NULL |

|

| | | create_user_id | BIGINT | 19 | √ | | NULL |

|

| | | context | VARCHAR | 64 | √ | | NULL |

|

| | | access_count | INT | 10 | | | 0 |

|

| | | remote_ip | VARCHAR | 32 | √ | | NULL |

|

| | | onetime_pin | VARCHAR | 10 | √ | | NULL |

|

|

Max 10 numeric. Default 6

| | onetime_token | TINYTEXT | 255 | √ | | NULL |

|

| | | redirect_url | TINYTEXT | 255 | √ | | NULL |

|

| | | expires | INT | 10 | √ | | NULL |

|

| | | date_created | DATETIME | 19 | √ | | current_timestamp() |

|

| | | last_accessed | DATETIME | 19 | √ | | NULL |

|

| | | scope | TINYTEXT | 255 | √ | | NULL |

|

|

context scope for this token

| | profile | TINYTEXT | 255 | √ | | NULL |

|

|

profile of scope for this token

| | onetime_actions | TEXT | 65535 | √ | | NULL |

|

|

JSON array of actions that can be performed with this token

|

Indexes

Constraint NameTypeSortColumn(s)
PRIMARYPrimary keyAscid
pidPerformanceAsc/Ascpid + onetime_token

Relationships

Close relationships within degrees of separation