nk_point_histories

0 rows


Description

ポイント履歴

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT UNSIGNED 20 null

ポイント履歴ID

user_id BIGINT 19 null
nk_users.id nk_point_histories_ibfk_1 R
transacted_at DATETIME 19 null

取引日時

point INT 10 null

ポイント数

sousa_content VARCHAR 2 null

操作内容

reason VARCHAR 120 null

理由

affiliated_store_id VARCHAR 8 null

加盟店ID

affiliated_store_group_id_first VARCHAR 8 null

加盟店GID

affiliated_store_group_id_second VARCHAR 8 null

加盟店2GID

affiliated_store_group_id_third VARCHAR 8 null

加盟店3GID

nk_point_linkage_id BIGINT UNSIGNED 20 null
nk_point_linkages.id nk_point_histories_ibfk_2 R
cancellation_target_id INT 10 null
configs.id Implied Constraint R

キャンセル対象ID

created_by VARCHAR 255 null

作成者

created_at DATETIME 19 null

作成日時

updated_by VARCHAR 255 null

更新者

updated_at DATETIME 19 null

更新日時

bill_number VARCHAR 64 null

明細番号(POS)

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
nk_point_histories_affiliated_store_group_id_first_index Performance Asc affiliated_store_group_id_first
nk_point_histories_affiliated_store_group_id_second_index Performance Asc affiliated_store_group_id_second
nk_point_histories_affiliated_store_group_id_third_index Performance Asc affiliated_store_group_id_third
nk_point_histories_affiliated_store_id_index Performance Asc affiliated_store_id
nk_point_histories_bill_number_idx Performance Asc bill_number
nk_point_histories_nk_point_linkage_id_index Performance Asc nk_point_linkage_id
nk_point_histories_sousa_content_index Performance Asc sousa_content
nk_point_histories_transacted_at_index Performance Asc transacted_at
nk_point_histories_user_id_index Performance Asc user_id

Relationships