サポート #17
安治 博之 さんが4ヶ月前に更新
h3. 2025/01/17 時点 項目追加、新規テーブルのまとめ
|項目追加テーブル |新規作成テーブル |論理名 |項目名 |型 | 備考 |
|/2. tickets |/2. |チケット所有の企業ID |target_company_id |int |publishing_histories.target_company_id |
|publishing_histories.id |publishing_histories_id |int |publishing_histories.id |
|/4. publishing_histories |/4. |発行時有効期限 |expire |datetime |発行時の有効期限を設定 tickets.expireは、ユーザーにわたったのち、更新される可能がある為 |
|実行時ユーザー |users_id |int | |
|備考 |memo |text | |
|アフィリエイトコード |affiliate_code |varchar(255) | |
|/2. companies |/2. |アフィリエイトコード |affiliate_code |varchar(255) | |
|エージェントID |agent_company_id |int |エージェントと法人の紐づけ |
|company_publishings | |発行期限 |issue_deadline |datetime | |
|/6. ticket_boxes |/6. | | | | | | |
| | | |publishing_histories_id |int | | | |
|部門
| |department |varchar(255) | | | | | |
|枚数
| |amounts |int |新規チケットブロック.枚数 |
|取得時枚数 |default_amounts |int |新規チケットブロック.取得時枚数 |
|取得上限枚数 |max_amounts |int |新規チケットブロック.取得上限枚数 |
|パスワード |boxes_password |varchar(255) |平文で登録 | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
|/10. |/10. ticket_publish_reservation | |id |bigint auto_increment |時限式チケット発行用 | |
|発行会社ID |owner_company_id |int | |
|発行先会社ID |target_company_id |int | |
|発行部数 |amounts |int | |
|金額 |price |int | |
|ステータス |status |int | |
|次回実行日時 |start_date |datetime | |
|定期発行日 |regular_execution_date |int | |
| |created_at |datetime | |
| |updated_at |datetime | |
|/9. |/9. ticket_send_reservation | |id |bigint auto_increment |時限式チケット送付用 |
|実行日 |start_date |datetime | |
|企業id |company_id |int | |
|チケットボックスID |ticket_boxes_id |int | |
|送付先ユーザーID |accounts_id |int | |
|チケットID |tickets_id |int | |
|ステータス |status |int | |
| |created_at |datetime | |
| |updated_at |datetime | |
戻る