One Active Subscription
Create the user_subscription table for user subscriptions. It needs id as an int primary key, required user_id as int, and required status as text; the database must prevent two rows with status = 'active' for the same user_id.
Samo CREATE/ALTER/DROP — bez završnog SELECT-a.
Prijavi se da vidiš povijest predaja
PrijavaPrijavi se da koristiš AI mentora
PrijavaNema početne sheme
Ovaj zadatak počinje bez tablica — stvorit ćeš ih pomoću CREATE TABLE.