sounDAO
Tables (6)
Follow (팔로우)
- 팔로잉 (following_id) — uuid — Foreign key → User.지갑주소 — NOT NULL
- 시간 (created_at) — datetime
Music (노래)
- music_PK (music_id) — uuid — Primary key — NOT NULL
- 아티스트(지갑) (artist_address) — wallet_address — Foreign key → User.지갑주소 — NOT NULL
- 노래제목 (title) — string
- 앨범이름 (album) — string
- 발매일 (release_date) — datetime
- 장르 (genre) — string
- 노래길이 (duration)
- mp3 cid (mp3_cid)
- 커버 이미지 cid (cover_image_cid)
- 토큰주소 (token_address)
- 풀주소 (pool_address)
- 재생수 (play_count) — uint
- 좋아요 수 (likes) — uint
Post (게시글)
- Key — Primary key — NOT NULL
- PK (user_id) — uuid — Foreign key → User.지갑주소 — NOT NULL
- Field
- Field2
- Field3
Post-Music (노래태그)
- Key — Foreign key → Post.Key — NOT NULL
- PK (user_id) — uuid — Foreign key → Post.PK — NOT NULL
- PK (music_id) — uuid — Foreign key → Music.music_PK — NOT NULL
- 아티스트 (user_id2) — uuid — Foreign key → Music.아티스트(지갑) — NOT NULL
Token (토큰)
- music_PK (music_id) — uuid — Foreign key → Music.music_PK — NOT NULL
- 아티스트(지갑) (artist_address) — wallet_address — Foreign key → Music.아티스트(지갑) — NOT NULL
- 토큰주소 (token_address)
- 풀주소 (pool_address)
- 재생수 (play_count) — uint
- 좋아요 수 (likes) — uint
User (사용자)
- 지갑주소 (wallet_address) — wallet_address — Primary key — NOT NULL
- 이름 (username) — string
- 프사 (profile) — image
- 배사 (background) — image
- 가입시간 (created_at) — datetime