Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Last active April 6, 2019 00:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save parzibyte/a8dcd149935387ffbea52c6712cb5791 to your computer and use it in GitHub Desktop.
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