-
-
Save parzibyte/a8dcd149935387ffbea52c6712cb5791 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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