Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active April 6, 2019 00:23
Embed
What would you like to do?
CREATE DATABASE tienda WITH ENCODING 'UTF8' LC_COLLATE='Spanish, Mexico' LC_CTYPE='Spanish, Mexico';
/*
Después ejecuta:
\c tienda
Y luego lo de abajo:
*/
CREATE TABLE productos(
id SERIAL,
codigo VARCHAR(255),
descripcion VARCHAR(1024),
precio DECIMAL(9, 2)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment