Vk | Nevernight
-- Posts CREATE TABLE posts ( id BIGSERIAL PRIMARY KEY, user_id BIGINT REFERENCES users(vk_id), type TEXT CHECK (type IN ('photo','video','text')), media_url TEXT, text_body TEXT, created_at TIMESTAMP DEFAULT now(), theme_id BIGINT REFERENCES themes(id) );
<button v-if="isMember" class="submit-btn" @click="showSubmit = true"> + Night Moment </button> nevernight vk
-- Reactions (one row per user‑post‑emoji) CREATE TABLE reactions ( post_id BIGINT REFERENCES posts(id), user_id BIGINT REFERENCES users(vk_id), emoji TEXT CHECK (emoji IN ('heart','moon','sound','fireworks')), PRIMARY KEY (post_id, user_id, emoji) ); -- Posts CREATE TABLE posts ( id BIGSERIAL
The idea is to give the community a unique, engaging, and technically feasible addition that will keep members active, grow the audience, and reinforce the brand’s “never‑night” vibe. Name: NeverNight Live Pulse Tagline: “Feel the beat of the night, 24 × 7 – even when the world sleeps.” user_id BIGINT REFERENCES users(vk_id)
<div class="posts"> <PostCard v-for="p in posts" :key="p.id" :post="p" @react="handleReact" @vote="handleVote"/> </div>








