Files
Church-Music/new-site/backend/s123' psql -U songlyric_user -d church_songlyric -h 192.168.10.130 -c "d users" 2>&1

25 lines
1.5 KiB
Plaintext
Raw Normal View History

2026-01-27 18:04:50 -06:00
Table "public.songs"
Column | Type | Collation | Nullable | Default
------------+------------------------+-----------+----------+-----------------------
id | character varying(255) | | not null |
title | character varying(500) | | not null |
artist | character varying(500) | | | ''::character varying
band | character varying(500) | | | ''::character varying
lyrics | text | | | ''::text
chords | text | | | ''::text
singer | character varying(500) | | | ''::character varying
memo | text | | | ''::text
created_at | bigint | | |
updated_at | bigint | | |
Indexes:
"songs_pkey" PRIMARY KEY, btree (id)
"idx_song_artist" btree (artist)
"idx_song_band" btree (band)
"idx_song_singer" btree (singer)
"idx_song_title" btree (title)
Referenced by:
TABLE "plan_songs" CONSTRAINT "plan_songs_song_id_fkey" FOREIGN KEY (song_id) REFERENCES songs(id) ON DELETE CASCADE
TABLE "profile_song_keys" CONSTRAINT "profile_song_keys_song_id_fkey" FOREIGN KEY (song_id) REFERENCES songs(id) ON DELETE CASCADE
TABLE "profile_songs" CONSTRAINT "profile_songs_song_id_fkey" FOREIGN KEY (song_id) REFERENCES songs(id) ON DELETE CASCADE