5 lines
305 B
Plaintext
5 lines
305 B
Plaintext
CREATE TABLE Subscriptions (
|
|
Id SERIAL PRIMARY KEY, -- Auto-incrementing primary key
|
|
Email VARCHAR(255) NOT NULL, -- Email field, required with a max length of 255 characters
|
|
DateSubscribed TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP -- Date and time of subscription
|
|
); |