Skip to content

Latest commit

 

History

History
46 lines (44 loc) · 1.7 KB

README.md

File metadata and controls

46 lines (44 loc) · 1.7 KB

VideoHosting database

MicrosoftSQLServer
Coursework for university - I implemented a database similar to YouTube.

Tables scheme

Tables scheme

QUICK START

  1. If you use windows
git config --global core.autocrlf false
  1. Git clone this project
git clone https://github.com/BaggerFast/VideoHostingDatabase.git
  1. Set hard password to user SA into docker-compose.yml
MSSQL_SA_PASSWORD=""
  1. Connect to database via docker-compose
docker compose up
  1. Scripts structure
    • STRUCTURE.sql - Create table
    • TRIGGERS.sql - Create triggers for table
    • INSERT.sql - Insert data into table
    • SELECT.sql - Select table
    • TRUNCATE.sql - Clear table
    • DROP.sql - Delete table
  2. Use scripts in this order