PROJECT BANANA
Tables (18)
お気に入り (board_favorites)
- Key (id) — BigInt — Primary key — NOT NULL
- ユーザーID (user_id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- 掲示板ID (board_id) — BigInt — Foreign key → 掲示板.グループID — NOT NULL — ユーザーID
- ステイタス (status) — tinyInt
コメント (comment)
- Key (comment_id) — BigInt — Primary key — NOT NULL
- Key (board_id) — BigInt — Foreign key → 掲示板.Key — NOT NULL
- Key (user_id) — BigInt — Foreign key → 掲示板.Key — NOT NULL — ユーザーID
- Key (id2) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- コメント (content) — string
- ステイタス (status) — tinyInt
- プライベート (privacy) — tinyInt
バナー (Banners)
- Key (ID) — Primary key — NOT NULL
- type — tinyInt — 1. main banner 2. sub banner 3. 4 5
- イメージ (image_url) — string
- URL — string
- show_type — tinyInt
- 言語 (language) — string
- active_flg — tinyInt
プッシュ通知 (notification_sets)
- Key (id) — BigInt — Primary key — NOT NULL — ユーザーID
- ユーザーID (user_id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- プッシュ通知 (system_announce) — tinyInt — NOT NULL — 0:未設定 1:設定
- Field (message_announce) — tinyInt
- Field (comment_announce) — tinyInt
メッセージ (messages)
- Key (ID) — BigInt — Primary key — NOT NULL
- Key (id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- ユーザーID (user_id) — BigInt
- message — STRING
- Field
メッセージリスト (message_lists)
- Key — Primary key — NOT NULL
- ユーザーID (Field2)
- Field
ユーザー (uesrs)
- Key (id) — BigInt — Primary key — NOT NULL — ユーザーID
- ニックネーム (user_nickname) — string — 8文字以内
- ステイタス (status) — tinyInt — デフォルト1 退会1
- Field (firebase_uid) — string
- Field2 (email) — string
- Field (signUp_type) — tinyInt
ユーザーイメージ (user_image_files)
- key (id) — BigInt — Primary key — NOT NULL — ユーザーID
- ユーザーID (user_id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- イメージURL (image_url) — BigInt — 8文字以内
- ステイタス (status) — BigInt — NOT NULL — 0申請 1許可 2拒否 3可承認
リコメント (re_comments)
- Key (id) — BigInt — Foreign key → コメント.Key — NOT NULL
- コメントID (comment_id) — BigInt — Foreign key → コメント.Key — NOT NULL
- ユーザーID (user_id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- イメージURL (content) — string
- ステイタス (status) — tinyInt
- プライベート (privacy) — tinyInt
レポート (user_report)
- Key (ID) — Primary key — NOT NULL
- ユーザーID (user_id) — int
- reported_user_id — int
- type — tinyInt
- content — string
- feedback — tinyInt
- 対応完了 (complete_flg) — tinyInt
広告 (advertise)
- Key (ID) — Primary key — NOT NULL
- イメージURL (image_url) — string
- ウェブURL (web_url) — string
- active_flg — tinyInt
- type — tinyInt
- タイトル (title) — string
- コンテンツ (content) — string
- 会社 (company_id) — integer
投稿レポート (board_report)
- Key — Primary key — NOT NULL
- ユーザー (user_id) — int
- board_id — int
- 申告タイプ (type) — tinyInt
- content — string
- 対応完了 (complete_flg) — tinyInt
掲示板 (board)
- Key (id) — BigInt — Primary key — NOT NULL
- グループID (group_id) — BigInt — Foreign key → 掲示板カテゴリ【大】.key — NOT NULL — ユーザーID
- カテゴリID (category_id) — BigInt — Foreign key → 掲示板カテゴリ【中】.グループID — NOT NULL — ユーザーID
- Key (user_id) — string — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- 内容 (content) — STRING
- ステイタス (status) — tinyInt
- 新しい投稿 (new_flg) — tinyInt — NOT NULL
- 照会数 (view) — integer
掲示板いいね (board_good)
- Key (id) — BigInt — Primary key — NOT NULL
- Key (id2) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- イメージURL (user_id) — BigInt
- 掲示板ID (board_id) — BigInt — Foreign key → 掲示板.カテゴリID — NOT NULL — ユーザーID
掲示板イメージ (board_image)
- Key (id) — BigInt — Primary key — NOT NULL
- 掲示板ID (board_id) — BigInt — Foreign key → 掲示板.グループID — NOT NULL — ユーザーID
- イメージURL (image_url) — string
- ステイタス (status) — BigInt
掲示板カテゴリ【中】 (board_category)
- key (board_category_id) — BigInt — Primary key — NOT NULL — ユーザーID
- グループID (board_group_id) — BigInt — Foreign key → 掲示板カテゴリ【大】.key — NOT NULL — ユーザーID
- タイトル (title) — string — NOT NULL — 0申請 1許可 2拒否 3可承認
- ステイタス (status) — tinyInt
掲示板カテゴリ【大】 (board_group)
- key (board_group_id) — BigInt — Primary key — NOT NULL — ユーザーID
- タイトル (title) — string — 8文字以内
- ステイタス (status) — tinyInt — NOT NULL — 0申請 1許可 2拒否 3可承認
検索キーワード (notification_keywords)
- Key (id) — BigInt — Primary key — NOT NULL — ユーザーID
- ユーザーID (user_id) — BigInt — Foreign key → ユーザー.Key — NOT NULL — ユーザーID
- キーワード (keyword) — varchar(10) — 8文字以内