Skip to content

Instantly share code, notes, and snippets.

@juliarose
Created July 7, 2022 09:52
Show Gist options
  • Save juliarose/e248fc56c588077137927bc294e2aeed to your computer and use it in GitHub Desktop.
Save juliarose/e248fc56c588077137927bc294e2aeed to your computer and use it in GitHub Desktop.
CREATE TABLE colors (
id serial NOT NULL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
hex VARCHAR(6) NOT NULL
);
INSERT INTO colors
(name, hex)
VALUES
('Hot Pink', 'FF0066'),
('Orange', 'FF9900'),
('Red', 'FF0000'),
('Teal', '1693A5');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment