guestbook-ng/migrations/8/up.sql

10 lines
258 B
MySQL
Raw Normal View History

2022-01-12 17:05:36 -05:00
CREATE TABLE IF NOT EXISTS counters (
counter_id SERIAL PRIMARY KEY,
counter_name VARCHAR(64),
counter_value INTEGER,
counter_date TIMESTAMPTZ SET DEFAULT NOW()
);
INSERT INTO counters (counter_name, counter_value)
VALUES ('visitor', 1337);