This file contains hidden or 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
| [{"id":1,"name":"Product 1","stock":10,"description":"This is product 1","price":30,"provider":"Apple","image":{"src":"/img/3.png"},"features":{"colour":"Blue"}},{"id":2,"name":"Product 2","stock":20,"description":"This is product 2","price":30,"provider":"Apple","image":{"src":"/img/2.png"},"features":{"colour":"Blue"}},{"id":3,"name":"Product 3","stock":30,"description":"This is product 3","price":30,"provider":"Apple","image":{"src":"/img/4.png"},"features":{"colour":"Blue"}},{"id":4,"name":"Product 4","stock":40,"description":"This is product 4","price":30,"provider":"Apple","image":{"src":"/img/1.png"},"features":{"colour":"Blue"}},{"id":5,"name":"Product 5","stock":50,"description":"This is product 5","price":30,"provider":"Apple","image":{"src":"/img/4.png"},"features":{"colour":"Blue"}},{"id":6,"name":"Product 6","stock":60,"description":"This is product 6","price":30,"provider":"Apple","image":{"src":"/img/4.png"},"features":{"colour":"Blue"}},{"id":7,"name":"Product 7","stock":70,"description":"This |
This file contains hidden or 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
| HASH=$(git commit-tree HEAD^{tree} -m "🚀 First commit") | |
| git reset $HASH | |
| echo "🚀 First commit has been cleared" | |
| sleep 0.2 | |
| echo "Pushing to the current branch" |
This file contains hidden or 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
| HASH=$(git commit-tree HEAD^{tree} -m "🚀 First commit") | |
| git reset $HASH | |
| echo "🚀 First commit has been cleared" |
This file contains hidden or 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 TABLE Articulos ( | |
| [ID] INT IDENTITY (1, 1) NOT NULL, | |
| [CodigoBarras] NVARCHAR (100) NOT NULL, | |
| [Descripcion] NVARCHAR (400) NOT NULL, | |
| [PrecioCosto] DECIMAL (18, 2) NOT NULL, | |
| [PrecioVenta] DECIMAL (18, 2) NOT NULL, | |
| [StockDisponible] INT NOT NULL, | |
| [FechaAlta] DATETIME NOT NULL, | |
| CONSTRAINT [PK_Articulos] PRIMARY KEY CLUSTERED ([ID] ASC) | |
| ); |
This file has been truncated, but you can view the full file.
This file contains hidden or 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 CodeScoutsDB | |
| GO | |
| USE CodeScoutsDB | |
| GO | |
| CREATE TABLE "Album" | |
| ( | |
| "AlbumId" INT NOT NULL, | |
| "Title" VARCHAR(160) NOT NULL, | |
| "ArtistId" INT NOT NULL, |