From c0d3f8b07ad9d18e4e77bf0dec1b3e0b265a13de Mon Sep 17 00:00:00 2001 From: StevenJW Date: Sun, 7 Jun 2020 22:29:59 +0100 Subject: [PATCH] Upload project. --- SQL/create.sql | 237 +++++++++++ SQL/create_and_insert_generated.sql | Bin 0 -> 111472 bytes SQL/create_generated.sql | Bin 0 -> 37612 bytes SQL/drop.sql | Bin 0 -> 10192 bytes SQL/individual_creates/1 - Roles.Table.sql | Bin 0 -> 930 bytes .../10 - ReleaseType.Table.sql | Bin 0 -> 982 bytes .../11 - AudioFileTypes.Table.sql | Bin 0 -> 1066 bytes .../12 - ImageFileTypes.Table.sql | Bin 0 -> 1082 bytes .../13 - RoleAllocation.Table.sql | Bin 0 -> 1498 bytes .../14 - MediaEntry.Table.sql | Bin 0 -> 2086 bytes .../15 - ContentPage.Table.sql | Bin 0 -> 1282 bytes SQL/individual_creates/16 - Comment.Table.sql | Bin 0 -> 1590 bytes .../17 - Thumbnail.Table.sql | Bin 0 -> 1380 bytes .../18 - ImageEntry.Table.sql | Bin 0 -> 1680 bytes .../19 - AudioEntry.Table.sql | Bin 0 -> 2024 bytes SQL/individual_creates/2 - Users.Table.sql | Bin 0 -> 1100 bytes .../20 - AudioPreview.Table.sql | Bin 0 -> 1718 bytes .../21 - dbo.VideoEntry.Table.sql | Bin 0 -> 2294 bytes .../22 - VideoPreview.Table.sql | Bin 0 -> 2014 bytes .../23 - AudioGenreEntry.Table.sql | Bin 0 -> 1522 bytes .../3 - ProfilePicture.Table.sql | Bin 0 -> 1382 bytes .../4 - AiredTypes.Table.sql | Bin 0 -> 972 bytes .../5 - VideoFileTypes.Table.sql | Bin 0 -> 1136 bytes .../6 - VideoEncode.Table.sql | Bin 0 -> 1132 bytes SQL/individual_creates/7 - Category.Table.sql | Bin 0 -> 966 bytes .../8 - Production.Table.sql | Bin 0 -> 986 bytes .../9 - AudioGenre.Table.sql | Bin 0 -> 956 bytes .../MediaLibrary.Database.sql | Bin 0 -> 6900 bytes SQL/individual_inserts/1 - Roles.Table.sql | Bin 0 -> 1052 bytes .../10 - ReleaseType.Table.sql | Bin 0 -> 866 bytes .../11 - AudioFileTypes.Table.sql | Bin 0 -> 2072 bytes .../12 - ImageFileTypes.Table.sql | Bin 0 -> 1864 bytes .../13 - RoleAllocation.Table.sql | Bin 0 -> 4554 bytes .../14 - MediaEntry.Table.sql | Bin 0 -> 9398 bytes .../15 - ContentPage.Table.sql | Bin 0 -> 3466 bytes SQL/individual_inserts/16 - Comment.Table.sql | Bin 0 -> 3272 bytes .../17 - Thumbnail.Table.sql | Bin 0 -> 4770 bytes .../18 - ImageEntry.Table.sql | Bin 0 -> 4136 bytes .../19 - AudioEntry.Table.sql | Bin 0 -> 4156 bytes SQL/individual_inserts/2 - Users.Table.sql | Bin 0 -> 4436 bytes .../20 - AudioPreview.Table.sql | Bin 0 -> 2628 bytes .../21 - VideoEntry.Table.sql | Bin 0 -> 5954 bytes .../22 - VideoPreview.Table.sql | Bin 0 -> 5778 bytes .../23 - AudioGenreEntry.Table.sql | Bin 0 -> 2194 bytes .../3 - ProfilePicture.Table.sql | Bin 0 -> 4262 bytes .../4 - dbo.AiredTypes.Table.sql | Bin 0 -> 1332 bytes .../5 - VideoFileTypes.Table.sql | Bin 0 -> 1812 bytes .../6 - VideoEncode.Table.sql | Bin 0 -> 2736 bytes SQL/individual_inserts/7 - Category.Table.sql | Bin 0 -> 1972 bytes .../8 - Production.Table.sql | Bin 0 -> 752 bytes .../9 - AudioGenre.Table.sql | Bin 0 -> 1548 bytes SQL/insert.sql | 381 ++++++++++++++++++ SQL/insert_generated.sql | Bin 0 -> 73910 bytes SQL/queries/DML/query 1.sql | 6 + SQL/queries/DML/query 2.sql | 15 + SQL/queries/DML/query 3.sql | 17 + SQL/queries/DML/query 4.sql | 7 + SQL/queries/DML/query 5.sql | 9 + SQL/queries/query 1.sql | 5 + SQL/queries/query 2.sql | 5 + SQL/queries/query 3.sql | 11 + SQL/queries/query 4.sql | 11 + SQL/queries/query 5.sql | 12 + SQL/views/Media.sql | 4 + SQL/views/Production Entries.sql | 4 + SQL/views/Users.sql | 5 + 66 files changed, 729 insertions(+) create mode 100644 SQL/create.sql create mode 100644 SQL/create_and_insert_generated.sql create mode 100644 SQL/create_generated.sql create mode 100644 SQL/drop.sql create mode 100644 SQL/individual_creates/1 - Roles.Table.sql create mode 100644 SQL/individual_creates/10 - ReleaseType.Table.sql create mode 100644 SQL/individual_creates/11 - AudioFileTypes.Table.sql create mode 100644 SQL/individual_creates/12 - ImageFileTypes.Table.sql create mode 100644 SQL/individual_creates/13 - RoleAllocation.Table.sql create mode 100644 SQL/individual_creates/14 - MediaEntry.Table.sql create mode 100644 SQL/individual_creates/15 - ContentPage.Table.sql create mode 100644 SQL/individual_creates/16 - Comment.Table.sql create mode 100644 SQL/individual_creates/17 - Thumbnail.Table.sql create mode 100644 SQL/individual_creates/18 - ImageEntry.Table.sql create mode 100644 SQL/individual_creates/19 - AudioEntry.Table.sql create mode 100644 SQL/individual_creates/2 - Users.Table.sql create mode 100644 SQL/individual_creates/20 - AudioPreview.Table.sql create mode 100644 SQL/individual_creates/21 - dbo.VideoEntry.Table.sql create mode 100644 SQL/individual_creates/22 - VideoPreview.Table.sql create mode 100644 SQL/individual_creates/23 - AudioGenreEntry.Table.sql create mode 100644 SQL/individual_creates/3 - ProfilePicture.Table.sql create mode 100644 SQL/individual_creates/4 - AiredTypes.Table.sql create mode 100644 SQL/individual_creates/5 - VideoFileTypes.Table.sql create mode 100644 SQL/individual_creates/6 - VideoEncode.Table.sql create mode 100644 SQL/individual_creates/7 - Category.Table.sql create mode 100644 SQL/individual_creates/8 - Production.Table.sql create mode 100644 SQL/individual_creates/9 - AudioGenre.Table.sql create mode 100644 SQL/individual_creates/MediaLibrary.Database.sql create mode 100644 SQL/individual_inserts/1 - Roles.Table.sql create mode 100644 SQL/individual_inserts/10 - ReleaseType.Table.sql create mode 100644 SQL/individual_inserts/11 - AudioFileTypes.Table.sql create mode 100644 SQL/individual_inserts/12 - ImageFileTypes.Table.sql create mode 100644 SQL/individual_inserts/13 - RoleAllocation.Table.sql create mode 100644 SQL/individual_inserts/14 - MediaEntry.Table.sql create mode 100644 SQL/individual_inserts/15 - ContentPage.Table.sql create mode 100644 SQL/individual_inserts/16 - Comment.Table.sql create mode 100644 SQL/individual_inserts/17 - Thumbnail.Table.sql create mode 100644 SQL/individual_inserts/18 - ImageEntry.Table.sql create mode 100644 SQL/individual_inserts/19 - AudioEntry.Table.sql create mode 100644 SQL/individual_inserts/2 - Users.Table.sql create mode 100644 SQL/individual_inserts/20 - AudioPreview.Table.sql create mode 100644 SQL/individual_inserts/21 - VideoEntry.Table.sql create mode 100644 SQL/individual_inserts/22 - VideoPreview.Table.sql create mode 100644 SQL/individual_inserts/23 - AudioGenreEntry.Table.sql create mode 100644 SQL/individual_inserts/3 - ProfilePicture.Table.sql create mode 100644 SQL/individual_inserts/4 - dbo.AiredTypes.Table.sql create mode 100644 SQL/individual_inserts/5 - VideoFileTypes.Table.sql create mode 100644 SQL/individual_inserts/6 - VideoEncode.Table.sql create mode 100644 SQL/individual_inserts/7 - Category.Table.sql create mode 100644 SQL/individual_inserts/8 - Production.Table.sql create mode 100644 SQL/individual_inserts/9 - AudioGenre.Table.sql create mode 100644 SQL/insert.sql create mode 100644 SQL/insert_generated.sql create mode 100644 SQL/queries/DML/query 1.sql create mode 100644 SQL/queries/DML/query 2.sql create mode 100644 SQL/queries/DML/query 3.sql create mode 100644 SQL/queries/DML/query 4.sql create mode 100644 SQL/queries/DML/query 5.sql create mode 100644 SQL/queries/query 1.sql create mode 100644 SQL/queries/query 2.sql create mode 100644 SQL/queries/query 3.sql create mode 100644 SQL/queries/query 4.sql create mode 100644 SQL/queries/query 5.sql create mode 100644 SQL/views/Media.sql create mode 100644 SQL/views/Production Entries.sql create mode 100644 SQL/views/Users.sql diff --git a/SQL/create.sql b/SQL/create.sql new file mode 100644 index 0000000..d510e15 --- /dev/null +++ b/SQL/create.sql @@ -0,0 +1,237 @@ +--Create roles table +CREATE TABLE Roles +( + RoleID int IDENTITY NOT NULL PRIMARY KEY, + RoleName VARCHAR(255) Not Null +); +GO + +--Create users table +CREATE TABLE Users +( + UserID int IDENTITY NOT NULL PRIMARY KEY, + UserName VARCHAR(25) NOT NULL, + LikeCount int NOT NULL, + UserDescription TEXT +); +GO + + +--Create profilepicture table +CREATE TABLE ProfilePicture +( + PictureID int IDENTITY NOT NULL PRIMARY KEY, + UserID int NOT NULL FOREIGN KEY REFERENCES Users(UserID), + PictureFileName VARCHAR(255) NOT NULL, + Height int NOT NULL, + Width int NOT NULL +); +GO + +--Create airedtypes table +CREATE TABLE AiredTypes +( + AiredTypeID int IDENTITY NOT NULL PRIMARY KEY, + AiredType VARCHAR(255) NOT NULL +); +GO + +--Create videofiletypes table +CREATE TABLE VideoFileTypes +( + FileTypeID int IDENTITY NOT NULL PRIMARY KEY, + TypeName VARCHAR(255) NOT NULL, + TypeExtension VARCHAR(10) NOT NULL, + Codec VARCHAR(255) NOT NULL +); +GO + +--Create table videoencode +CREATE TABLE VideoEncode +( + EncodeID int IDENTITY NOT NULL PRIMARY KEY, + EncodeName VARCHAR(255) NOT NULL, + Width int NOT NULL, + Height int NOT NULL, + Framerate int NOT NULL +); +GO + +--Create category table +CREATE TABLE Category +( + CategoryID int IDENTITY NOT NULL PRIMARY KEY, + CategoryName VARCHAR(255) NOT NULL +); +GO + +--Create production table +CREATE TABLE Production +( + ProductionID int IDENTITY NOT NULL PRIMARY KEY, + ProductionName VARCHAR(255) NOT NULL +); +GO + + +--Create audiogenre table +CREATE TABLE AudioGenre +( + GenreID int IDENTITY NOT NULL PRIMARY KEY, + GenreName VARCHAR(255) NOT NULL +); +GO + +--Create releasetype table +CREATE TABLE ReleaseType +( + ReleaseTypeID int IDENTITY NOT NULL PRIMARY KEY, + TypeName VARCHAR(255) NOT NULL +); +GO + +--Create audiofiletypes table +CREATE TABLE AudioFileTypes +( + FileTypeID int IDENTITY NOT NULL PRIMARY KEY, + TypeName VARCHAR(255) NOT NULL, + TypeExtention VARCHAR(10) NOT NULL +); +GO + +--Create imagefiletypes table +CREATE TABLE ImageFileTypes +( + FileTypeID int IDENTITY NOT NULL PRIMARY KEY, + FileTypeName VARCHAR(255) NOT NULL, + FileTypeExtension VARCHAR(10) NOT NULL +); +GO + +--Create roleallocation table +CREATE TABLE RoleAllocation +( + RoleAllocationID int IDENTITY NOT NULL PRIMARY KEY, + UserID int NOT NULL FOREIGN KEY REFERENCES Users(UserID), + RoleID int NOT NULL FOREIGN KEY REFERENCES Roles(RoleID) +); +GO + +--Create mediaentry table (INTERESTING TABLE) +CREATE TABLE MediaEntry +( + EntryID int NOT NULL IDENTITY PRIMARY KEY, + CategoryID int NOT NULL FOREIGN KEY REFERENCES Category(CategoryID), + UserID int NOT NULL FOREIGN KEY REFERENCES Users(UserID), + ProductionID int FOREIGN KEY REFERENCES Production(ProductionID), --Entry may not have a production, can be null + Title VARCHAR(255) NOT NULL, + EntryDescription TEXT, + UploadDate DATETIME NOT NULL, + Premium BIT NOT NULL +); +GO + +--Create contentpage table +CREATE TABLE ContentPage +( + PageID int IDENTITY NOT NULL PRIMARY KEY, + EntryID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + Likes int NOT NULL, + Dislikes int NOT NULL +); +GO + +--Create comment table +CREATE TABLE Comment +( + CommentID int IDENTITY NOT NULL PRIMARY KEY, + UserID int NOT NULL FOREIGN KEY REFERENCES Users(UserID), + PageID int NOT NULL FOREIGN KEY REFERENCES ContentPage(PageID), + Content TEXT NOT NULL, + ParentComment int +); +GO + +--Create thumbnail table +CREATE TABLE Thumbnail +( + ThumbnailID int IDENTITY NOT NULL PRIMARY KEY, + EntryID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + ThumbnailFileName VARCHAR(255) NOT NULL, + Height int NOT NULL, + Width int NOT NULL +); +GO + +--Create imageentry table +CREATE TABLE ImageEntry +( + ImageID int IDENTITY NOT NULL PRIMARY KEY, + EntryID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + FileTypeID int NOT NULL FOREIGN KEY REFERENCES ImageFileTypes(FileTypeID), + ImageFileName VARCHAR(255) NOT NULL, + Height int NOT NULL, + Width int NOT NULL +); +GO + +--Create audioentry table +CREATE TABLE AudioEntry +( + AudioID int IDENTITY NOT NULL PRIMARY KEY, + EntryID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + FileTypeID int NOT NULL FOREIGN KEY REFERENCES AudioFileTypes(FileTypeID), + ReleaseTypeID int NOT NULL FOREIGN KEY REFERENCES ReleaseType(ReleaseTypeID), + AudioLength int NOT NULL, + BitRate int NOT NULL, + AudioFileName VARCHAR(255) NOT NULL +); +GO + +--Create audiopreview table +CREATE TABLE AudioPreview +( + PreviewID int IDENTITY NOT NULL PRIMARY KEY, + AudioID int NOT NULL FOREIGN KEY REFERENCES AudioEntry(AudioID), + FileTypeID int NOT NULL FOREIGN KEY REFERENCES AudioFileTypes(FileTypeID), + AudioLength int NOT NULL, + BitRate int NOT NULL, + AudioFileName VARCHAR(255) NOT NULL +); +GO + +--Create videoentry table +CREATE TABLE VideoEntry +( + VideoID int IDENTITY NOT NULL PRIMARY KEY, + EntryID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + EncodeID int NOT NULL FOREIGN KEY REFERENCES VideoEncode(EncodeID), + FileTypeID int NOT NULL FOREIGN KEY REFERENCES VideoFileTypes(FileTypeID), + AiredTypeID int FOREIGN KEY REFERENCES AiredTypes(AiredTypeID), + VideoFileName VARCHAR(255) NOT NULL, + AiredOn DATETIME, + Length int NOT NULL +); +GO + +--Create videopreview table +CREATE TABLE VideoPreview +( + PreviewID int IDENTITY NOT NULL PRIMARY KEY, + VideoID int NOT NULL FOREIGN KEY REFERENCES MediaEntry(EntryID), + EncodeID int NOT NULL FOREIGN KEY REFERENCES VideoEncode(EncodeID), + FileTypeID int NOT NULL FOREIGN KEY REFERENCES VideoFileTypes(FileTypeID), + VideoFileName VARCHAR(255) NOT NULL, + AiredOn DATETIME, + Length int NOT NULL, +); +GO + +--Create audiogenreentry table (solve many to many relationship) +CREATE TABLE AudioGenreEntry +( + GenreEntryID int IDENTITY NOT NULL PRIMARY KEY, + AudioID int NOT NULL FOREIGN KEY REFERENCES AudioEntry(AudioID), + GenreID int NOT NULL FOREIGN KEY REFERENCES AudioGenre(GenreID) +); +GO diff --git a/SQL/create_and_insert_generated.sql b/SQL/create_and_insert_generated.sql new file mode 100644 index 0000000000000000000000000000000000000000..298f63b25c7b7f342bef47558668f74ad7d0225c GIT binary patch literal 111472 zcmeI5TXP#pvfuG)N1X4#eQ;>Tv8xp+>gsUV6iI2gBZ*p)((D`^1w$7~GpoxeL{U20 z2Y+0%W-Dp5S0|*3xW?!nS@}5~)S^w|t-+KSGcdxgfe*fD0@7ZTfXJ7RGsrz2)?%R5Ht+%6RKkM&BYU3oe_ds{N>iw=W z_x1fktv=V^H?_?Zd=AyZCtdrfXT6P+)Z%(?v-j8DdT&GD8@($!x~V&^=yO|F*7bcQ zoyq(4*VNbT-hsxm)jLX~+DS)Sy*v8#aSrbnV_xfRYkUv&{8n#IzYo+7|E=}@r~V$M zYrE-9z~Q0Jt@R%1oqM`-OTWMBf7it>w-&HI3)BDQLZEM8; zq4#|1{n2}qAo)Js|9kJ9T0GUY2ZAHe{6qi!(R-aBdf5BB+5^tu^h^5Y&O?2;0+cWJ zk9T|jNaNT|SM$66L)ZnLTj?#;{l6^gd8M~r(%Trxp+@rW2?IdwrrvZ*c>Gy-usgVT1^ zHZpgZJa{I)e5y8Hh!XAiR8sO-9A#0Q;! zq5hqyZ}f{ZuL`i41a`K>$MFBLehsq6!t|~nww3+|gZugqEYJ(b%XHp-_+8!xE$--p z#xU74?eYDhHy-G1_QvUs677cEMUU<$KA0v3AM0KFqMmK>eZnv4d`=v@DJI8zjL4ubZ;`qGi=R(|(dk=Fd+T_G^MSb~3zn zoao;q@1$iAG=^k7?vD&9PqboN6pt+aS@e!JBBC+rckc+B&=xi%HrBN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8QuO;klzXIkpga11SI18^Bk)2q1kW@Z_EhK3(hPyEUyqqsD%9=i zxu5jJc3O+St@;XUx_?I>=34gE@~-Z=mv*1{S;xPoJ*9~=T00hfG~LX-clF2bL$zpY zaf*G3*@|exBWZCaZ}pyf!7ewm8mmXHeO5Q`Tb&UH^vf+>G|y^Ko%Q$+6q$%Bh2uh@ zx)sNK_0=5G<3fR|aUaqwN>CSX9iR3CpLze9Q9`jV%*Ir=IzOWhIF3K+Xv6UyXYy9Z z9rd83Tx={)a=c~Pl;firZI@e`hLj_J=Dj}fHkD)B@be?(Q@l}2O-D>0c)Rt%TXD+v z|MOOx(e)(9==E^&-qgXWKNmRkGkHtR$5jot@wqkRY2L3oBb>H9LM11oujpetdX07# zf2?I$(saZD{c=k|(d8@oJDO4UFj^X)u8C|TVctmA#LjH>t?lyjE}hEf=V{DnH7abK zDcgj~c1YR0e|5OJstq4|)wR6+S>wD)!qyqHKNpnkXT~3$!RocJfCunMzu@F7+0*T$ zSXJLyViJdPffTMGIvUzr4TqkoI}zwIQM(`MecX5-JPd0G@c$x)BOO0$udTj~zx zgL<3deV9i>#4@x_-l|Kr$68}xGZFZ|RQVzM`dNzP`#pI?e@E7r&0w%P!Jdq_vs)1L gpQt}$)z5rZWi8D%Fk^A7*^GlUpTX1282EesKg*l~VgLXD literal 0 HcmV?d00001 diff --git a/SQL/create_generated.sql b/SQL/create_generated.sql new file mode 100644 index 0000000000000000000000000000000000000000..253f17504b3b69a69ae4076215e1df8cbc99de29 GIT binary patch literal 37612 zcmeHQZEqXL5#FyY(Eq@1vIE1B?W9Ok6euH7GGR$nNGr0V7=&cWj@no%^pYljKJD}D za6Eg*J?dUXQ9KY5$=lo6owsLaXZM!>`(xjYUEg)wq5I^H+?Bg_r|#0dbANGvc3W=f z-@kNU1g{RR9=m_xzW2EMTh#5i9_n7>@7U8g_4Iad$B8?`m2Lb#2Gt|{{SMl!!PgiR zE>ZR$)Kwa%p5in2mHW~?bIGsEm01;xYludXmfx&yL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(_PzF=@ptET8F#G`r~x|ZBVZG z!qL4<MuH))%jsE|GJw#V>w?moyCj=_VYcZ9h#rr`?Rli`VQ$K8R;Re-H+4x_j{O8U#9Y> Yv;KvN-jn&;g}c{k=65e;s+4onffkJs2tEW57^`KjIc~7;#Tj*00?P*sXCC=7VDJ+lEsUC@(X{jc8JPnDP z>WMSUI>&z{$3FfQo}It5H>9lrkqhd*5$~x*>=J}!I?$17yc@h5s^gt-T4y!gzNtfe zuh2~er1ffyhTQmy@grr}6joh!)^WVXXobE6lMoluMMhK$FJ>R9%@fl7W^BM|NF9qZ z=DyCTlIyvRdC67ZDd=IfOp!4;4o!flXIwZVoK_h zJJ&gOO5bpL%9EgW8>TiHrl;v|UPP9G`;v*P9DwYRCFRcaUXP8KS5wJ)%*daD%zjy{ vV|_On3EgGjbKAuR;B8)VbnJR6VvRw^<^Kz9+S;VqS6x>#|DXQ5U;S@C7{Yyu literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/10 - ReleaseType.Table.sql b/SQL/individual_creates/10 - ReleaseType.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..6b42090f9d823733db332e5a4e2f4658d0b1b31b GIT binary patch literal 982 zcma)*T}uK{5Qg8|g8su^sz{m@gwVydezc^!mMbM9i)K*KhnNKY`RbXoDN0GQoHKLg z%)Dpjo!PI?p1P{b(?D(AX`%;>)M6iNhBniOhT7Avnu?t)sj%{SSjT!K@>X+I!SR$3 zH`Wt2L!F?%g0YW&h0W|Ey|E`?Pmx0xWszM_X1qNG%To=%IroNopd*#oE9@1O(N3_I z`Ks<*)gijKl34*y%iF3;xbYRChf0w>Dr|AG?4z~n7T%Zm#KhIfA|imW_$k*mODR&Q~M zzhFLs;pd+Y4D`-vMhEVl9D-HRG2dpa4i$&YjgRc};sw>345-`Y%9t=tYS^q7+g9ik z8@PzPu6ZHRIS4s*cq!{g&tp< z$c!6jmT?Mx56^U2)4H$kCMYJm6#q=NkOBTSSDAO@a$5DZ3Yrf8FK=VoCenJm&TaM& K{&&ClN52733WxXr literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/11 - AudioFileTypes.Table.sql b/SQL/individual_creates/11 - AudioFileTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..9ba896a3216bdeb445bd59aad096ccf12e6b7181 GIT binary patch literal 1066 zcma)*UrPc}5XH}HLEm8?RixAkLg-;z|FopLmAh0#ESW(@shCB5`RX@!F*FM0vOBZ) zo;i2s%hSJsiZ|7VZnULMwG}(Nqte3i*zN0)$UDtchsRSw zTwhP@8S4Ol497OUuUB`&SS@ZaL<0W=`vSsZZS~-qaz264Qv!4( zo7Y?ZVV-Lrq3|;b=d5q8>vwu^_6Dw+_F3z3HTCYgWtk1>`{-ZRDxLbD^Ar_BCep`V zQN;-gnhns>Cf3w7og3^~e^=|}6BRgYQ5SG0IwrQDQ|`#S8@c{ovU|uAqkIb$Z62+Q z)^+njSbA=LVwXVxvI|SfnRR(NHsrst4p^=k{3*!nrZLqvAcQ__tJae4TCS9cESb>@X<`!f=c{M#VrVE87k6gw zJ#+5NnOQ$SI%=yXPdznttDzortp?A5rg&4mtFJ9>>O`@#1?3l($L>InMBZqo3Ot?? z;s$zR&sc}}&v5MGhZ=Eq$4Q+V43WS;!M=d7SX*tlrkqb;^i(Bc2Ew>Y+E;;RnP*u= zyhC=2tcrWDXb<08$S)7lvbP!&PJBi9p;ByzIvc!M4bf7KbM!fwn7A5Qq(oKmBHlyt z5AiQn#0KovxW}SQ3tz|Fk}3RmEpjfO4K(|ylx1OB^-ySxGUhL4mZ+;7%Ixsl<}7j* zn9b_lS<4)u^a!Oh_E+AfbmHFGKAdG8u>Qwc)0^wwm<~TM2jjKuB|5jByM?MD6Y68T zRCR`;W&^af2{yG&_bPkV@89+Fi3%KcTbFPrIwdxz7I$Rbj$FU5*gfJG(}_B&+I(79 zZ3@f_VQIU0id_Z)$R;cu&aCUpu_51)b;NQ_;qQPcHQ1EIDhMHq0Eboxs=%dRzU}Yr%3zlu zXit^3p7HFP*_k)9{`IrgOt})BXkVAQ&{v&l%6p+D+EPDssyBMAJyk(&Xsz=kSQq++ z=eh1QB2J?fNJ<>b$q?6woNN4XF=j@~^(F--mnmVU^xrVY=V~hR_rot~L ziw3VTTFG~z2`i_b$G#cXoOA4DE>i7sN@V!uTns`!ub$z|8JV{e*t&)->)kBpI@SP| z)>%XL%217EtbP6dlv=m+Wf{ExjQF%y+s{>btoAy9oq|bAk;i2831%!aIPxT#HS;&d z=Dz(M4=E9{;5XD4&Y9~YaRxfzyx74q^zaDl2UbNNC$Qt0bEn){YXwneVMeNuO$KtG zC^dWTWZ$>oZn#?K-4MS9+1yvw$EIQCDza<9M>$1i;5~^EU51>xSXZzY;;%xxx1M27 zLZ9Jycc0sD@3v2j9r*Xj^$mXDKBEJ9sLpq9%#*-)v5ijp_68H!m=!h iln0(x|5t9q4R|Wj|59cDuD!g<*6*Rp*3#vxt@1Y!m(;NU literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/14 - MediaEntry.Table.sql b/SQL/individual_creates/14 - MediaEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..e0ce9ab7ec9fed441019e743d777a920faf95282 GIT binary patch literal 2086 zcmc(f-EPxB5QXO!B;LW7NmbDjKthqYFpg6!QYVmDP*qXXG!+E(2PG+jmj}MH8#i{b z)Ap*e>|O89oSivycK-g!Y-q6sc5H`sW;2`HiS_tSZNY3|zin*K?5Q1C-;H~=Q+NVa zr}iDsQ(IXZoWMr-P3@dDq0X3Jf$_X_LTs1Vdvy8e8G^Ck~)E8FAS z;@h%)W^Y*C=V`nDw!LH?6yn;!Qc)|n5j&x!%oCe1X5`o7PqC+^+;Z!W*!1y>iDH6R zhgr&hVqM$#jMe1xO;;ct-1V4CB%6Za=mwEOX{$Apw|G8E2@9(lrd+1S%Yvp+7bD#oPK=v zKb;Ow?VB6Nn9yb+8UkKwUhep50s*4Kl30_5u=ewuJf9(9rz4`t*=YC7qja21)r7F9B DRI)Bf literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/15 - ContentPage.Table.sql b/SQL/individual_creates/15 - ContentPage.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..4cb2ba39732f27cdb59a471612e3b489dffe73fe GIT binary patch literal 1282 zcmbW1TW`}q5QWbxNc;ysCRIgC;Q>YB!Pri*NbS-jf~txvLMy~YfKp!g^T2n;xQR<5 zE?Vu*c=ycg%$ZsL_&(QEg%VxpL|3}hJH6I~b*UBFO5e25J>Au@>W~N8+ZYMEOTEYP zjlODxpF}h4miow^yaj14DA!Rt5{FLy+vPyl`W@uS#kFlFo|-`jkVVYdZYu^ zBi17wqCIB!kTHtykshKa8(DR2)Yuh7(O{LM zReYBkGYg$oHJLoZ(H(0%!y-c@IMFH++@+mrqO>j(KX;(IYDON-IXo6ikLRB&fqxwZ$rBS z+|TZpKAY_e{?mE)!hK`Q_WyLT-|?FD4DO4_%P%lzByiob)H2ppdO*~-yL1>;G^1mt YWreRIIO_jd*8i@xj|F$__S$9p6PhNn(f|Me literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/16 - Comment.Table.sql b/SQL/individual_creates/16 - Comment.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..746dc6e31df03d4c8639faeae53fb1e198329bcb GIT binary patch literal 1590 zcmc(fOK;Oa6otsb!NmbEOSfEHOg5#8k)D9#Tt)eI*v_c?Wa=U;(4}50^H#T_y zD`eSoJ-+8Y&OPHF-%CxEDbZYKy3(cI>9xi@SE{foebYksbXTV;!g{2G#+9(U(tD6^ zbfX?|63xJ^^npD`y~O@ZjQiLr)<>=@eZqSYyp5QGuE_a?-9!WMH~2W(13l6a&l8>} zI>vg;?lD&{y!Z4FJ84vOfT!zqS2Mo!m1B>zWG(4z%$uvuTV2)OFYqbAWmK^QHNeVw zA8E*)>E#w|%5Fv;quhO8PstKF-Pe65RB&g57iTp$a~P?4YF0ASg*q^C$lb*+4;6cj z{T<%MEp-i#Rp{gQh`Uh}_S&h8WL0!<8= zg7xdETP3zeM41M?6(N6$=NVB-zF8G*?1+X!J&bm??2A_aM_gZ=(7&7+|1H+D zNtsX#=>} W|Gvi>cOA~E`>J>1Um!-R`}zrm(cg{$ literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/17 - Thumbnail.Table.sql b/SQL/individual_creates/17 - Thumbnail.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..9a224b9d1babb0cbf6886612d27654750685009f GIT binary patch literal 1380 zcmb7^VQH5bXu4hkSjX_w^J#sztSjrNwNSmF&dI(KA)Z3E7R9S>$;mvyJr|YzlBGQB zw|bttV>$yf2eG`vO*`h4>SXkHj68>>*Hp%2LXE8dt!h@k0c+Mb|5A|{T;kSUo#DOI zG3bs?IVJQ>?w#|F)t8Kd?io@i>vZc6>nGDPyo|jw3y&ee@&qpv_N;%J*o=E&WJxb-pR KtleHWnf?N{DZ=gm literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/18 - ImageEntry.Table.sql b/SQL/individual_creates/18 - ImageEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..dc3f2b24359b80989046d34939dbb57f9ff8906e GIT binary patch literal 1680 zcmc(fK~LL25QX2hNc;yM6NCy4MXDlka2*FMf(?x$Kq#`BrfR54ivmLGpKtkQ7h@Ze zP)^lqJ?q_>w=-{M_V1sOhKd#FLPz?lsV?`wF@ z%P+cB7o0#jb`$+z&rqkVe}VCqb)qZIzHt)kC;A@UY-|j{m~-zQ+Gh2E-EBtK{dcv)I;i=zfu?zFvE`hEN?9i=kR#$7@MpfKjo3=<6Ld1{V!SA@ z>aj}sPt<3|`n13{VmIaauFuVu$DAs-M!wFv%65s9lG7`2d{lS*&B^)9$uY5Xw98l> z%K`S6)X?mKkvcoeBRR!pipA_1ql;~h$!0=FgvfKaJtUJRBXVjTV_CL*_t>*KTa~{M z{m5yxbqZ>(1FTv)2Hn?J>MHDv-92VTmG#N0b%fQC)t#*pP=>C8Gk14{<`F0(&aBRw zwh0|;v6+_z_#-rn$2gk0q3ehY?+Wz293Ug~txvpm>U^r}S_JzJf04H3(K^g3xXGt~ zQC>PPUmUy9^Zok1vUjE8Jc9YyMP)BSj}gGM=g9L_X1ayXPrIh=a%g<^nI==PV#iSP movU8b3S-P&%TfP#tYwEbJN@4ye%|XP(v9mli+t4`W&HPJx$c$# literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/19 - AudioEntry.Table.sql b/SQL/individual_creates/19 - AudioEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..a5b63c5b5a8c03e0f3a5b8f24d1e9309644dd026 GIT binary patch literal 2024 zcmc(fK~LL25QX2BO8pN$CI|sdTd9h~!8i`J8f;1&QG_Ckl&Z990fkVhf4=QEyE2Z! z4$up->{;*5yqS4BGk^a~G*+xYC)(E+o#~rSHR3zdoYh>vHPuVK(4I0Ux3s?W1nkcA z9m~&Js1Ht{9J`r*uxF@etS`aXWF6|pdAP*m1^OP{Z0s3>F~{>2CxHf_EWj|#S9+r@ zzCFG@ZL@mE?lw=~{rB~nb+8oII+_-><(6|2DrKFhKu*YS#Gl2U)^aPgKcbUi7ZXK+ z)qqvXf1)98tiuM|h}{@JW@Q|N+Qo}!_F)b>E{?StN9K15)(M;#Tee<~CD*Y!aIwML zgov8T<@{!=m2zIv8k)sPwejSX4LJFIINttaYy`Wf}mc{#((qv!kSoobV+;yi-+*kxriX227`wCBk4Ro--mnD6#s z*WIDXWmY%@xKJU+t*Room@Q_1W?GjPG|~iFECH&@x};8~dGphXQ-1i7Z=#xKG;)i*rPb*COY zk;eE<^#hw(FVKI%v5H>m7VC_25|BoZ@SG9v2LDKXeDA=R>7zbrjkC+y)jHZ|tn2)G z;k~B~^r(@|GDzp@ipJc;%F#1b$damtygB2%RnZgr08D{jN){DfeYBkSOglWO4(IqL zSX1KI%azC4CQ9AU*DCLX=nIX0IF>tdN*}JN-+D9tSSRXG{|e6%cX`OuvaV|71!GPh zf6~XA^>>)$xxNNDfvc;{cbL2b-(g6Y-u-h{%?#hqqL2S=W4>2#T|egJDgSw_wOz+P zJF}H zJ9ODw=~;UA)-qT|VT+0oIRUu`OUa#Q-S*A+R@@usSixU{te&fAW8<)u1=&^LYdJ(F v;JvFgIuAKDv94ec_~)U$Bi?dvRJ)t?xBS+Z^tsM<5AqrAoT^w01Bmo=D{ literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/20 - AudioPreview.Table.sql b/SQL/individual_creates/20 - AudioPreview.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..2e45c203f137013227fe2e9f630e66dba1c72b96 GIT binary patch literal 1718 zcmd6nQE$^w4291tNc@L9w$sE$0SQ&&AxqN{(WQf?f@zu}$|?qeZ7SUme;)YkOV*?` z8te&0iEr+;kL_do{`@i3M5!Vj>p*jz>Z9Ii#CN6ztA)PnL=SXd`x?94(N^t=*q!MU zmhZJxADl=9b~Alu&rnZUUx4wDb*wA*aG^tx=eowvT;Dh~J9{SJEZDsSEz$s_B^rkN zNKdrGx5u}qT~^Q7-R0@~e_xMTN440t(6q=czk-ukIqOU%a!QUP{w)5ykzb|#3Y{@_ zDN&SI4Or#;XBzURdcDCmVK>E(Ss4$p_V5ze{W~5y9?LzrYBFU0jiqC_IfoNl*JCPl zqz;^H^L9DQJ$92J)9oAFRSh;_w%ZNyY&9+Dh)d+ZS+Bf~uszoYaya`Vqjv9mcwfS9 z=!bPC+U-_;tN3#;z7RvexaMy`&z-qEfy17j^0ae!NE8{f5+jdb`X%)>nNVq)C9A!4 z!GJyMzS}AqW0SaMS8qTr^a9Hc^^bpdUhcj3mfh#PWBPAMoo!aE!>l81m4Pzx-X6RE z1kD3brkq&^Hf=NJ*;unkOYo;?mN&UHbz`5EG0~Oi2RT9}=-UJZ?c8Ik>ski;j=xFU z7`EB7o^Em)?wi}rtNX}22F~v`adzvhcu!zI^~~(P81O`}9e4_yRTb|v?z1orU9Y2Y xI^;E(gOxfsbsNmbDjKtho?7{@6Vsa=QzR8?e=1W^#QRfv%I^R(aW;@VE4 zq~TJuvUj~Z^LFOV+x7LIk%o#D=uF4@teL**lLovenlqZ~x5j#;hdNT``UCCNTEOf? z-|(Djp)NRqa{MOx&YYpn7+-?%nDKjXXUt!+;|2B}-F&PK!I)!l#Y&(aC<|;2^NF76 zfOm&?M~94FFndVry6>)@G7f5S?O|zATW&ckp;E?)3i=WG4fwLy(?)Kk^;>K*{9>Xg z@ai#2`A*d5iS=%cZ^UfOKIUZ{gnGp;p4sgjv|Jny8XVcaW3bNP#MrWNJ(gUjYQe=m zPn)&W#caLLaQ_ywVtXCtX1^)bvYPGY*(YXGK#qQ{cJ>bOp5ry!;=i0{rLS`T6czmd z$@BQjDSE1N*N{ZcZ)WIXo{;G39q$U0;?*n$e&=+cVzEa8cte>Ewgp(N3 zpHkB|D9HKzAE3o(dfIh+1B^QO0m> zdDrLsUFMPhhm8H7upZT2s$BiAEw}1#T4uY7df&O0xAMR0x~lLpQl;@t BOX>gs literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/22 - VideoPreview.Table.sql b/SQL/individual_creates/22 - VideoPreview.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..d2ff4585f922aaf5dfb84c1a41d254a0138c3024 GIT binary patch literal 2014 zcmd6o-EPxB5QWbzNW6nDld7U6fP^A(VH~Geq)s6TP*ssd;)sGEtwL19%hP_d8`pM| z{$5p{9 zeW6#{;kU(aOS{b8u)53BcHeEiWFAyv+rrW!xBQ0egi4tw${0uF*yGFMPiy%V)*rFy z;};V}hF6DK%6FnJZ>&!nd?Qw4&M`0JA=Eog@$BA>hlY#g30&0~vh$6lBeunkc@rj&eQ(r(H>OGzf6cetrnmV<9W%Vs@AH{Z2 zhIN-|(ll(d1eAg6hQ2#L!g3#!5qqZDx^Kb_VEI|38TcbCv&&rSwxR2;KG9{^`?1Fu zVQ)R>ty33M)z&iDbNHLAt)kYg)&+G={S9^7esP1@iJtR^^{CxbCGQdJ$1XFwVLChk zY)Vy6*O@qKrB3CgjJEb>4<^QtPeYyHiF01ZWs;EW27k+yp?f?J) literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/23 - AudioGenreEntry.Table.sql b/SQL/individual_creates/23 - AudioGenreEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..819dac2bfc7bb01fc2385f8dbb665d29b0938744 GIT binary patch literal 1522 zcmd6nL2uJQ5QX0rr2YpVld7Vn^nfC9a2=;uq;_c%wN({agysN3EsDy4KM#CwSE=nP z5d|)2wVv_r%-fkav-|VMOcUiwbgfe@b)!%EpfTTtR%k1I*IYY#t`k*3?rXO-5>^-b zjORz)YXDB7DSiumVa=#F=yzbeKu`58oNx!)Qn#QlIr|pRc#ge2CZMf|;VV0dhTz>} zY4n#m(mvlqzK1$Md(G+rV-WradWD{}BHYE&@jJ^YJE=fvMqZcB225+0#ax8Q3ui?oIT5rcU z)s=eiv&ZbSSB5++W7c~Q=uK5NVQ%+pqI$aD8Qc_fT8g|Ps(0{WnZb}d(VUsRA#1MM z(>O@+%z}Mi7vN9z7XO~kI49Pv43)cN^$oM4dLx)|r@20^r?mo#piIMq#=~v&}hW(5hTu305As h+V-Y&Uy|*p|4-JBZ_wXl-C)dN*jYC#Z7$bY{{l0(*x>*G literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/3 - ProfilePicture.Table.sql b/SQL/individual_creates/3 - ProfilePicture.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..e94f93abd159be6bc5897f9f56b0dd23e45ea3bf GIT binary patch literal 1382 zcmbW1VQ5nTrx0*1N`i9ZiK_BA7c zmLYVy*tzrTvtRq}$M;ebrHVAuq0Y6?rQT}9cdjMcQr~o{M|!Az6)tzQ)ff@0bA14L zrW^I~6KM)=u8*vl*9H0&J|3fw@pq+nc(>g#(onaoo?~HH8xvNS?0sP`(g1Ha?3?c= zdZrz|J-$8dqCIDIm(lnCzMi5-jrg{(wCF9zDLb)p^h_19B+n6lmP6jkv9>Qbxdd!&WWORCrJb|BARK{dNjqD~^)vSI4)~s*tt3wPX zam%ib@jTT5$PT?7uX-l;u6e`i3uZy*45^NFx%Gzil4%)UCf=2WpPyiPh?kN*>zy_> z<2G7;7HNh563gl?m$q%}U0x7fg?*4CWP-i*ez49xrlzfButRDISsGH zef#xmVkZX9|NpMooAHbLgbJjdo!#~UBZBe3Rp70zdWYECx1j5lG**X9lR2JJ=c)aY O)wpZ#yG@?zEPn!fY{Pf} literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/4 - AiredTypes.Table.sql b/SQL/individual_creates/4 - AiredTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..ea2a11a85dcdb2fb2ccce4ae19c17f9090cd3cdf GIT binary patch literal 972 zcma)*UrPc}5XH}HLEm8?RU*v_Lg-;z|FopLmb;XQEU7_7lx!08<*VP^#Za(}%kIqH zd*!uMA4s(`ett+s>{UlD$&44YD4moLjbTB~h|z5){y*CLCIs3u;-cc?Z`OV=A> z19n^7V^OAouXAoGl-;gD$>p)LQ6szGR2rep3!0d}np2{oN@%jrQ|2skxtlF2-T#BT z;C*+Up6bEbF>H06uzqLjQ*Fq^_}C$LUQ(&qfSPThOa;@U$)5G$KlS;<1rA--4eW_7 zh%TwmEkz$9*NIzp&v;_G(WYvf9MjwSV_pc$z;!xyIRqeku%w(>Kh|SICfgLVY%};% zkl9Z?>sa4SPE2+g_`-Iv0eG9I0v)-WRF22%Zn A(f|Me literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/5 - VideoFileTypes.Table.sql b/SQL/individual_creates/5 - VideoFileTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..459b5481699466ab7a57d93583ff126b15baa913 GIT binary patch literal 1136 zcma)+UrPc}5XH}HLEm8?HKfuCLg-;z|FopLm1`vuOKOl&8WvGszWU8w3=K`W?9S}H zXU@)?nceTNwpyynQ&&yhYoMX-)ZpIJ1aG2G-D*plsw;MOSKBkoW4EVABKvw%86Hmw zaXme;XRHJKF&sPiSMUzlAFGCEhy?x@>?;V1wbg=a!ubn~o+_}tfiUi(4z$a?#J!|F zyd!q^SY`KI);_*BlixN-%id~CIPn$Xhf1++>TK|2HAHhYPSF=&V&bY~krGwGi+B#n zKg7RW5F4;tZkUo!=vKHyo|C|BwHZA?7 z9IG-rrxzh}?PEJ=aYi4^26V*c-g;!+s<3BMvRZYYsK8>hK)^sh!QY^rS*Y!anG!rum&{#G-O_1#p* rWS4@^Yy%sBw^`57k;`coYZcTT|01+?%DxhtyLnZ!zr(8Y>EGiAv~HgQ literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/6 - VideoEncode.Table.sql b/SQL/individual_creates/6 - VideoEncode.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..0d053bd939063040e103cb94327565ea8c8495b4 GIT binary patch literal 1132 zcma)+SxduE5QWdHg8w0pwTP`%K?**^wAEmnRNJ~BC0HvisFhL#|GfIm1SOTa5N>Af z+?jJ{Im!FmKs_}T=t3P`Ypgq6s?B?(DcV%88frz$+E?nbqH^I0u#R+3-b9KV2w!CQJ0G*d4puI&?u_p6G|^#eDiYSBZYCu~s=tJa3bE zm1_%86MFkdZ*$}qpY)Y(T@JykX`APFyi=d%jHvJV{hY%Aci!oSn7oo=RX<0yoQsyP zand;PzZ<(uB!<@^@|@lr(pi%cb1~lAq-tvBB75S`13hd6@d`5uP1T2AmmN=3`^NJnM|*nSnpRGyAG!-Zyk! tr(~DmpUXBf!r$1QdncY#(bp>2cl<@(#sd3JjDzzX&HoI4oqzs0J^+XloaX=l literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/7 - Category.Table.sql b/SQL/individual_creates/7 - Category.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..c30d7f814cca95d01b46f1cbc0b262d38af674c5 GIT binary patch literal 966 zcmaiz?MuQ?6vm&g1^o~EXd-D=5JDf;oHo+Ua#A8PGNTuILnP>*uYTt)!+|E3yL0Zj z&w1{7+xOQ%eTDKgQdf7H>QOi9@SSLeHq)oZ+R?V!N}Q~!ytF*56FuR1tGOERcuMh` z=oy=_PSM}s*h3GvnPb1lk~16LRv-TvufB8dsridDzI`34%D2w9t{U1g)*7qf&J7)) zdrL8uL0ZI?SIUjA7(G&k9FSXwlf@ku@>-xTz$EyEM3LduM2k5`YOzCIuJ8@8hP-25 zmcOr4UdgNafBq#G!`6!0*vn(sMpWgMs+hhUO{$?vRHMS)s(NVy)-wk!{4Z_{bqIpOdM{fShfbtO{0-CN}HC<{W*z0*Bqz72K)L z@GYsw8+jLE*N1DYC+vh?w8-4%#;R@IF)f0n@A{m$2m+8@SO(l#H;TRyGi_C~STpzs zAhW-0idf&xO+s`T_*{070eG9H938uuma&#W+wreLTa9fFt;@x#=KtKL`^7)`1Iwv} A00000 literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/8 - Production.Table.sql b/SQL/individual_creates/8 - Production.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..bb6f80cf44939d2df3b2c1e574413577090a92fc GIT binary patch literal 986 zcma)*UrPc}5XH}HLEm8?RV2*{Lg-;z|FopLmP(1pk{V=`hFH*-uYPkkLqRhxcW3V0 znR92(%zk}#)mBxW`fBPyV@-6g2H&CPXmfpNpabozuGqKJ_n#vytOycw1^=RHB6a$_;J+F0kj{0fq%3MdOO4D(1QD)24wEvblhhPB8l zyK`B`=-x_RIXo?EtF6P0uLwOlzQ!jeu1XdOQ5Cd^bEq1-s+$e5 z0oE$-Sd?+#>w;HOW_NRtae3@*;m9&Dp8Bveg%#6Rv+Ag)46NkYS?(g2y~(uJ{GaF% zOuxW%`og>G`bdvX4!|wxl(ikVMdcyW<0E^#enr(L1M0WwGDeJ>3O4J>|7!J#44i*f zx8QelNqmMG@_)J#xxUXx-O$a}<+Zf`2L-$N+zvuGBknIj#Cy1$BqN$=i6gxwLMtGn@X0yY83& F={I@YiH!gN literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/9 - AudioGenre.Table.sql b/SQL/individual_creates/9 - AudioGenre.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..9b5169c7e518c7dc13c1197c66356a462c9c996e GIT binary patch literal 956 zcmaizZA$_{6ot>%g8svPG?6qb2%!(#`qGl_TDp{oEcpTzr6Csd=d0(=W+_-Q%-%aQ z=bn4-nc2^eL><-SsjrqM8tXxKYVsXwjyKo42HMlE8j77QD!(#3c87W-a-@YS@ObJH zH`Eh*#yZBI!Eu1^>(ynL!8Xwp_6a8zW1|DdoXjsUd8)#);M_P5b*v)aGT*XFc&F@^ z7!|j!=m_6isVfiCs%9mbZ9o9S9?j;z3EV8&-DMVFCTp1 zQ2V-pwW|xFa%#h#=^i=dZ`nO##;9MXTYD*{uib}vAuJttv$4w^fNa5%aAx|i$A&0u zN?DaD{0YePr;l~4?_Nqwbt(AFHn9PCdp{XEay6}Dt%HW+--I@G?d93cuIrioY1_`1 Gf8rON>Vjhc literal 0 HcmV?d00001 diff --git a/SQL/individual_creates/MediaLibrary.Database.sql b/SQL/individual_creates/MediaLibrary.Database.sql new file mode 100644 index 0000000000000000000000000000000000000000..c4e502a756d24c85ec6beea010406b7f539a86e2 GIT binary patch literal 6900 zcmdUzVQ&*h5QgV-rT&NeW`e4a0Ig`MO1;__b4u(3A88UGI>n8PQbB?eT9rRf`#!VY z`fLbIz-v^U?7Q3B-I;l3=H1!-``w<^R#;}w?3EqcrMc+pQ~8 z>)3u*zhBjROJg(ZY3v*Q#y-cy=NqWUiJhutSN~(pdaU1D&CLj|S~Fbe+iQ)Db4+~3 zO}lS*Y}4-Q|E_K5>4AD|=-Tr4ExV`Ztfkd$^+e~cjbu-5Pu!}WKjrqb?$OSx^iu%I@cqb7AN9!jXLC{ZH+sX1vt5fp7%PbG@D0Z;ohfk2N1ShDS!!pj4h^%FoSdk8Rsi@1WIzW>qLZE*9cMxRZs>}bT9+Q-swBHhr7mXkSbmf@XTc})H{ zx(8$%dAbl{xxeGVN^f`pEuvr2$gWo+jacmIV#NsDliI$0NgPR9keJp=RyTN;b+qz4 zNa?{n$*L4RUFBru*|-X6wd}*rp;nVs$lDXA1pX^zYb~1toACtm1dmc*EIUWK%EFQ6 z$CGW88?_9*r4la<+~?_#nAc*FA2MYT-e+Zi$(N4-wssx!HcuVOYSxaP@R_xzLji`Q z!X)y#l1Pn19YkcL&$Y*rRVm&I$!nwmUZB=xg#-uI=u}Kil^$cD^cB02WN_%~LUu|{ zqxL8z0hFm28r{KuXKMAbWE(+U5xAAO=aKddtkeLs~d2H_T1W?%lVg?BECSqI1o@&S%)W0KBt>W7hja6zb! z7cr-zqUI%9m(Pb`&kPF?4UzpLGc0104hOJjkIl-|&d5fV!wq~1m3}%M0y9<4Nnt;q z7W+(iQzw&ajmLjr-eq$TF$S|XQ_Em^PAj^Kc(`~+@y=?*iN>;J_vB4tiyD#|D|MY5 zcc*Yki0#4jL?&<>tzn;%ORE^?JhSKHd?f51BlD~!z=Vo# zKk_<tW~w+|NEL3N;ZF{2S@&=ZXo_5OQsgzX9}q#fpW^KsYe%W z)KElS1(7QqunnTC9BAO)!!P4`p#%T` literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/10 - ReleaseType.Table.sql b/SQL/individual_inserts/10 - ReleaseType.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..ffb1b37d56a96d5a506e771fe9c5fb8f0af95a69 GIT binary patch literal 866 zcmd6l%L>9U5Jk^g@E_b+K?EN^AlQnat!NcQinRDZP%9M|{=9lSV0UgrP(m`3WOCHKCuXQIA(NMJBce=+K7rXhI#m3Co;+XvKz+eV);Fz*?JuR3km__p z+7oFX)MG9hL#du+Bk2S>RWao}%V!$S+YC8nMBVCpW%WgIwCpvl&*`e(nQED8=Fqfg zpQ`42PV9`kO3fI5&(|vWx*|)ss+RwuYZr7b<3Hl+6kLJcbfcF}*{Z#6?)$&m!?Pdr E1nhx`v;Y7A literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/11 - AudioFileTypes.Table.sql b/SQL/individual_inserts/11 - AudioFileTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..8f6c842d5e40f8f9c60c6b9b166faa6e6bd7d906 GIT binary patch literal 2072 zcmdUwO;5r=5Qg8giT|NDFi{c(KdwZ9kU%x^VGJRr*kYPUOF%*Yy!y;0mV(}lhoPj_X4= zBmVAuLvMOvKB0{{e}csUJBKiIG=RCsud`1U>{&#!go=KPqNe3QEu*3G}boXySc*_Ysyn3x@tz(B$jLG>`m%sKnw zI_Ioed!Lu*wwkJ{ppH&7)If=PI_4c|#%!i1b+xWF)phElWw*!=bjU1Z9`Ic1iZOJo zGmm$`iZtQh6|e)1K#N(S2KGH;3*;%|oQwk4A#Yp9p5GvqSZ#F;+iO=Fe#+HY$i7DG zZ(g=DURquoRviPB@L4N`OvyHzpb)E~ zbV(s8db;M9XNBx!Ojs54(EMAKSX~5ONmeI)yge-A=_ky@&P<+p+0A&l@QyM-0}JmK z2iU2rVYy#K_{@{vZn2l0x#5aW`R0+|7zOT#A*Wur|L(nKepSoY&N+3Zd@%7}w^oh1 Hv>WRc_L4Jy literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/13 - RoleAllocation.Table.sql b/SQL/individual_inserts/13 - RoleAllocation.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..ae086026cf7e5850485d9d0e0a0f594360f1c0d7 GIT binary patch literal 4554 zcmdUzPfNp45X9#!_#Jv|LByB-QICRF3N=D&3Q~$#^&k`r(TiVRo$Ta6ZXU$L9J1NA zn|;5xY#@rex%ae!;w#<_{UWBd%4^h)|O9`|_Q zxr|(k_TkLuDF>^2I?U?_9c1Qn-xj(qd9&e23F?UJZtkWES$<+U4wT63xqu6nU zcQVznm;7BORosAaD^kxLbO~vIPbP#6^dAXhA#-;>_((<53WcJ6Y6t+#&Yp z<4K3uqmNI6SiRv<A>i>FgGQ~9BK>Ps3S;Kk& literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/14 - MediaEntry.Table.sql b/SQL/individual_inserts/14 - MediaEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..d1236c5254d2af6ef641d1f9f0d7ad8be9b5bc70 GIT binary patch literal 9398 zcmeI2-A@}=5XJ9vrT!1g6N%I!Y{z`PR3t!}794~PQ52!d4t5|h2H6JJedwR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)vM0sMeDfbvB$Fdt{t5D-S)FOlYIp|0a;eEq;YS; zvmiC`z)*F(*;%x*FGYGJRAku>7{8MCc#QE&7N2Hbzg$>+vfuOExPn+8#_-akj9H6w zjeN!uKTb~Tt0BQv;*QS8`oad8-G37jVxEiG6wiUSB;Jg1r|ZO+7o(o+#`OZ&z-#$_ zk4K&b8!XEQcpmh**f`c+kng~jbJ*AwgOD{Nk^m2Rbg+JMV4g3f7kqKNFeZo(d_SX?_Wt9+@?oNfw)NQ7_DA@lCzg z9{-heEZ**Az1^+=p04^g^&$Eblt7YWAN$@{h`Y+5Z(f2nY7h Gk^caD@UDXZ literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/15 - ContentPage.Table.sql b/SQL/individual_inserts/15 - ContentPage.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..6436936c46a4a21821d745d22a609c8d14391b5b GIT binary patch literal 3466 zcmdT{!Ab)`41H(8f9SCV5odS1yFH3+rJ$`?D@a+yqKGI8trve@eMvTL&*EW*(j?u^ zBrlnl4EyuFz#JoVu*4;v@Q4>Y;DU06HLW$i(BKdUILA!2tiIv;35K+$v?u)D;huV` zzOMEEC4H^%!QIF7eMajYpNt^#ik_coH}o^(u8w+^D1Y|Pmtvt2jjlMUYXp7*%_7N@Mlf?3Y_tBassP4;oZk3`9+dx}41>{*M|5es_5Z<)lO zL9Q8?^pl7mb)l$DhPL7<@TIS~O$G=@ggJR4Y%dk9NkMPe<7Z2yNKFQjG|Nr(g##rATegW^21K$7u literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/16 - Comment.Table.sql b/SQL/individual_inserts/16 - Comment.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..cb754ad1ea2bf7d1045d4cfb4046d93aa70a5c2b GIT binary patch literal 3272 zcmds4+fKqj5IxT({zH8d5<{$rw>P307dSR_j$C`U@I;;3R~)p^@fF@Aih5(p1Mo#V_ALN&hRZhR;g+qFJyN@h2@J? z^YuGceR?~hnzLFiFFnH*<<@vMuZ>}e;uv#{<37gZd&Va5T*?{aI~jFn5g2Mt44A!4 z;gzN5dN=XZyfo&8?T~eAL|yw@z2;=za(Jj}mx>XPb!qvE^}Pg-O&tv#!K0qkNU4c4 zqG5SXYL{g9MIN|e#fy_wt9v1)A9~44o!eJ*Of7Cw`vs*YvqPVFh;AI#frxFu*^Fxu z9&?9-3)6|^N*9Y<(IOHOBl4w_uLw!`c9HVGh?3T?u`p*OjHv^kn#dn2#(k=UEGGUB O-u~Zzh#G48<@^p}nD`3- literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/17 - Thumbnail.Table.sql b/SQL/individual_inserts/17 - Thumbnail.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..87d71681bd17ddfcf58d5ea38aff5256ac8f1a2b GIT binary patch literal 4770 zcmd^@TTjA35QWdPiT{B&Au)s^*GCgUO%xOH5<`eVL1|EExTyH!)iX0L&`L~9d|Dou zoi6Qm_v_5;X+J+M(L@a?v~Y?Zx(Lz13GE%m^v0N@jcsh<5NF!T*%v(j7zgwk^pE+w z!7bZ{j&-j8w>Z`vM!Y)9u`kfa4A1Nta?}t{>`!sT2Ca-PzrSCfUOTePtc_h=Q;qkV z>MB-yf6k_^bLw$E9nP}1xc-QKh)2$Ty6C%RPnXAi_GEaME9{flC22Hylt!TUHrv1s zCc5T`Z59#zNA}6=0#uPl?%U6yLO~VOB`IGUuMiLE3qOhUAB%;e5Yn6qSZqp&@m*hd1WQG{GW3alxXb zo?j$NO2Vv=n6h3(+*jgNv#b=Peil4rP*w(Jg~0=JV!(KaGYE9wa5cj6!mn7UCnp!wIiM*Rxd4+ zobMY4)0qL)f<%Smkl#QOrZGiDIui1(+rj%9eX&%UPIdYg7p60%LOL4vWFZaXQP*!FUzr`^#sB~S literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/18 - ImageEntry.Table.sql b/SQL/individual_inserts/18 - ImageEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..2c4122f29fca71bdee131e7fedc3ed479a4d6cd1 GIT binary patch literal 4136 zcmd^?ZA$_{5Xb+ogT90BQiyPU_GOTkP#2^YArd}B9;Jyz(U-6Ov$N}66h}m_ZaL1I z-CO5oe$3A7e7q0QM+XIraE4pV5o3Z={!X!>w80z3*u@Txac-ZodcgHP98roW_jq69 zhR?|Ay0Gs@)HTH;|9wE+JuIp1j$i0tg=eR?K%EhFiGI2NqM`UjyI3{GzV#>hQhK&a z-yUekfS#@SOutL4^s6FTz2qvd^MrCtKNj@C&s}k5&hdgXC4Tu5ha@Sv9wMInPv@nN)ms^(3U? zcsb8hTA5UQhV>*uq0-KzQgc})G%ChrP=lW{OFdXF{uHZRlDa(OnL1`Q(zC2V+twc0 zMZ!`lQl4{*R9*E|iG1hcvu=1~G*S%v8zH14snM_O4L6LMIXlNSV`sMAQ%NUObzM=u fV@IRqH-wTXl3r0yG;+q1OBwxlciu(Uo*zE}Y{hJq literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/19 - AudioEntry.Table.sql b/SQL/individual_inserts/19 - AudioEntry.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..5f12effee3dc1bcfe6fcc4120928d4b2e7a72312 GIT binary patch literal 4156 zcmeH~TW`}q5Ju-2iT}_yTB$;flhX1Cf}lzvNa;mFRb{zx(nNqA`2x5<9yl}WB;Lxr zARbqdv-k1t@wcpH7DIkxre z-_)%gv$n6S^oo^jNV{z_%G#Dl`IjF1bxi1y$pdRy?cVqn+m*~1U(vdq$9~NA-BWse zvmQsx^aeT;xrWRor9&Cm{73eGX8*1xqGf31NKWOI<)-q&X0U+&3fe!I|JvpilTRpp zv9zJzQDD4d9JO3sdfHM|-JHp}m4*_@$&PV}elt|NHf02sUA;O@4&bHyx-26ZwQBZh zrf7eTS~F;>FQ_S1JKbise`@L%LA9P|a6X}r^Z?GzBRnOo6xG|rvV^euw=_`os5-^= zQ$25efKPP^#oSc7^|g8m6x7w62rF18##?J1VV+q{#i)e5D!mNf!21SHyM5na)Sh|% z7f|kc#uhNu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RAZ!nPYu|T_NrG+4R;Ga;DO> zrQ)}Q;$|Rs2Wsq&DTq#K0h;T{1wzg*%KGGdXxF3AY0v7F>Wq;PR9?za39|MU@b46Q zV{X|7UZ&Fg21@HewOvQcN=rR5Hk?vhv}9Vpp|rUuD~00NH5a%zcUWv-7eQsL6ZXm` z>;iaf&#|+zQ(X-VrK!d$cC*4Inc4*B+InwPt%bs?$*HDUjyu(Cr&{TWo}o5nSP^4V zW4Pio9FjBFG4jf7)Ryrlk##<@t~RAyC~dZP~)eKU)i-d^eRA*CN>5rycu4a?Rl8Z382g&|()O;&BeFrd4 zx3B@Z$Z^~7&aFP_7n*yW@_4k(FW*{mT_`(pinBUq>6N>Zi?@>N7LM7>D`S^YuKmuX zUru%~l;ixQ$}ivgyY-NU@(uJK D&~a_4 literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/22 - VideoPreview.Table.sql b/SQL/individual_inserts/22 - VideoPreview.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..61564eae4567e196370f46f98eb5471d846efe5c GIT binary patch literal 5778 zcmeI0Z*S626o-GWP5chL8zgR_Edur3GKX0*tC4MqSr)6@Sg}5#lWCS6@1WfsV`uFCapBoa(sWjYo$i@6UF(pyZI1(X7XKPO zWhB;(Ci=oy4XrM8h^5c5VwbzBJf~~YHeJ8r+DLooc!$&{WQ?%%gtnjRX!jm7Y@bI+ z?4orQi|#QRs;Rd2Rj0QvUoD>1`Mt`t2d-ade#O0A!D@Y0u-)IfebrLE0wmN*&d5(~ zVbp)PJ|INZa)5zpIC^Lvhzv^nf;Ad=-Qco9XYQuQulC+xva`t zhg9NQEf`HbtWk*6&a>K%jhFh=D$lZci=6&eq0f7jUx1b8qG{RvD)FRZwEkSH&(kUv z1H;nCKs&J({nn?|&gEM{;Tog8tJ$G6{X&t%z}1m(8Lid6mC!0033nBS<^RpREBwv7 wmR0ZBS}$Q3ucciEl& za?L#-5kgGSzzz!}IN^*Vd}@pfvkUInqmCNpSW3*R*R1z2VHPm=xVAVj2I94n?>l!2;fMKpuCc;z$}%>R4+XPC)L`T~+aQ~Uq` literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/3 - ProfilePicture.Table.sql b/SQL/individual_inserts/3 - ProfilePicture.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..9d9538a3a62c32a58dc15469113527e041c21eca GIT binary patch literal 4262 zcmeHL*-pYx5IxT({sV79Vu)pNc{EX!L@N=iF@!X-qiiV<;?JvRW?HsB8edvNI(K?$ z=gvLMaxULr9_qM81`XV!iw=f(!yRP{0kr_1XyOnDxWR*t^7Ip*ui}cDOTEhL6+TB- zZ9VGu4ccm9%D3~hU8AKbdbB&@Dm9L6EU@HkmrrD9+ohCs46eQXjTX75o1;aqJWMNR$otYF2mSHUV zjDsGpeKZOh6M{xjVcKYak#c;GvSOtyrWL1rG#l@uHGLBVE=^If-iI%MWU+Df#raMC< zzNKPDqoA?PujaAHD6RXcajj%UhO=gy8@`#|p6bB3W;9B4eDFNt$D+cxm2pmC;7N-L z+@6_kcG$DMM3$6RbA69TmI@lfeI>m3jP7x C5}Kd@ literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/4 - dbo.AiredTypes.Table.sql b/SQL/individual_inserts/4 - dbo.AiredTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..27ec96ebde2d55e2c41700b08643e0e398219ab0 GIT binary patch literal 1332 zcmd6nO=|)%5Qg8g;D6Yg3R0+FJuj%OpsRFMD6)uFK|!mm#p0iD`(zG5sHfr~ha{7o z$-7T7nf!cDl&YghGYz!XN?R?|r(Y_^%5_nuq6&J}&_)+MCcdXOR)XE5y=l&vnAWTL zXJ{>TVD$sqF^akAk5N2go$y3xCiG6l@GOjX<0-+yPS;F&_z*Mwc9%*uMS z_(Uc6r+i7Zf&YtnB>=jbryD?Z<~-Mdkkvieh%<`=p=w-F?YPO8K)9No>xDe-$znw1 vEvS}I^4ao)BdgiH-8EOeVN}AC=X3AW*-kLlyFQs6^x-M*{Ze(+wRhkbCs5F( literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/5 - VideoFileTypes.Table.sql b/SQL/individual_inserts/5 - VideoFileTypes.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..cf1358e07b4cbbce37b91de5b861e3b869b4c248 GIT binary patch literal 1812 zcmdUw%}>HW5XIlw#Q%XCkZ2PTi5`hkC6W38lo&z`9~z045>0LeTYDed~va^Y95ntCCR)AgSxzjy! zV6krP_byli#r*Ao9fCLlKbDX6g4F_f$~-3`2X??{@|fo@NCmQO=P+ySY0p-fwp{g*|hJ_|?1s&K7f%57QHGt2&^LScWUzGBN zy4JCcFxClQiW#oHhvSft3l} zBc>0`(Z#ygnm+QIMpm$s)<~5u<7ZqS6~{+|j#uMO*|(ZEo!RtFb0Vf2p3S&#t^C&w K>MAiXq) z-Appc%szROO}@V-7~>KR%yEksEV059ZunkcOKXcyWH`nVt}xP4df&7E5Eryk+Cx4M zcx0JstULA38Eb(xN1rnGlo6MVzvh?^JhPNq#yBI6YG`E1^1m1@W^m)mw`Dj{Dz`l) z(Yxj~zL|bijyK!;n%)&&*^=9~L}xhCTX|U3wfodt}*rs_<{sLtP1?wDJ0*d0gRk6|dv= zL+_5|jw`#o4`~yPjn5yoyA|qE?K)~dwC-8zfQrWaUu{rwhv?}4TU0LmV*9~v*0DLy z3ik3m+r{q3c{Z@Rhg4RWT-_t?aajwZb>a6%ce$MijVNExxo6rg`cnD*-w_iedPn*J DD{GYc literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/7 - Category.Table.sql b/SQL/individual_inserts/7 - Category.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..4c02a7a0f74e0bfb4b891a42aab93007bcf514b0 GIT binary patch literal 1972 zcmd6oOG^VW6ot=P@IQ3d3Zjm0msLBZpeZ9?aBKd5@9T-!FA?|*akBEFvv*&2a(9&DkfLg4)a80AM`P^@RP3fB z&)m8YsWMTfVLnbeFaDY0>Qix38h7UIsy-(i_(#397rlEa^c_y0ef{-c)~0Rm^#Df& BdanQg literal 0 HcmV?d00001 diff --git a/SQL/individual_inserts/9 - AudioGenre.Table.sql b/SQL/individual_inserts/9 - AudioGenre.Table.sql new file mode 100644 index 0000000000000000000000000000000000000000..512252b19946e97928d2264ec0da5bf772e6b945 GIT binary patch literal 1548 zcmd6nOHTqZ6ot>4g#W;X2njL47qS#(1cTLpm>5EcXcq)@2+9I}yzs>Rwsz*K5ifE;c#wx0yTRm8tWj~SM)eVs&?owVfp>?L! zxBd}YQ>BbPM*B)@(@xRx`b5{$Q$o{GXZl&$N1=jxu9;DdRkQizUmY{~us>Gmd4{H^ zA@l>@Dymz)(~(+Q!0GixT#ZO{5{RyGaE)Kzwi0ovP6JgNpS<3TDur%F9GC4Zuq8OQ z&^$8FdEn{b&XRrBfomC=>LO6xaU!-naaXMocpeYHoy$PeSDCvYt~bp;G%4pR-_iel K11C!CuG;}QzwMs@ literal 0 HcmV?d00001 diff --git a/SQL/insert.sql b/SQL/insert.sql new file mode 100644 index 0000000..c4fe307 --- /dev/null +++ b/SQL/insert.sql @@ -0,0 +1,381 @@ +--Insert data into roles table +INSERT INTO Roles (RoleName) +VALUES + ('Premium'), + ('VIP'), + ('Uploader'), + ('Administrator'), + ('Moderator'), + ('Content Janitor') + + +--Insert data into users table +INSERT INTO Users (UserName, LikeCount, UserDescription) +VALUES + ('WickedWorm', 8025, 'I am the social media director of WB. I post new WB content when released.'), + ('NailVista', 2407, 'I post jokes on the internet.'), + ('ExtremeRefined', 2641, 'I post comedy videos from my own bedroom.'), + ('KnowGem', 2030, 'Solo music artist focusing in rock'), + ('EmergeReal', 6343, 'Owner of site. If you need help feel free to ask me :)'), + ('ArmWhoa', 2460, 'Look out for new releases coming soon!'), + ('IcedTeaDramatic', 9231, 'I am the artistic director of WB, I post stuff for upcoming projects.'), + ('WisBerserk56', 466, NULL), + ('Play4Ask', -2357, 'I post my thoughts on the internet.'), + ('FeatTiffin', 54, 'I like to view good media.'), + ('Butter4Real', 4, NULL), + ('Stickyundefined', -6, NULL), + ('KickerOne', -145, NULL), + ('ImPrivate', 0, NULL), + ('OMGTHE1', -2, NULL) + + +--Insert data into profilepicture table +INSERT INTO ProfilePicture (UserID, PictureFileName, Height, Width) +VALUES + (1, 'flower.jpeg', 500, 500), + (2, 'car.jpeg', 550, 550), + (3, 'user_pfp.jpeg', 250, 300), + (4, 'default.png', 500, 500), + (5, 'default.png', 500, 500), + (6, 'default.png', 500, 500), + (7, 'new_profile.jpeg', 1000, 1000), + (8, 'm.jpeg', 505, 505), + (9, 'default.png', 500, 500), + (10, 'flowers.jpeg', 450, 500), + (11, 'default.png', 500, 500), + (12, 'kb_.jpeg', 300, 500), + (13, 'default.png', 500, 500), + (14, 'default.png', 500, 500), + (15, 'me_irl.jpeg', 1200, 1200) + + +--Insert data into airedtypes table +INSERT INTO AiredTypes(AiredType) +VALUES + ('TV Show'), + ('Movie'), + ('PSA'), + ('Play'), + ('Home Made'), + ('Premiere'), + ('Live Action') + + + +--Insert data into videofiletypes table +INSERT INTO VideoFileTypes(TypeName, TypeExtension, Codec) +VALUES + ('WebM', '.webm', 'VP8, VP9'), + ('Flash Video', '.flv', 'H.264'), + ('AVI', '.avi', 'AVI'), + ('QuickTime File Format', '.mov', 'QuickTime'), + ('Windows Media Video', '.wmv', 'ASF'), + ('MPEG-4', '.mp4', 'MPEG-4') + + +--Insert data into videoencode table +INSERT INTO VideoEncode(EncodeName, Width, Height, Framerate) +VALUES + ('1080p60', 1920, 1080, 60), + ('1080p30', 1920, 1080, 30), + ('720p60', 1280, 720, 60), + ('720p30', 1280, 720, 30), + ('480p60', 848, 480, 60), + ('480p30', 848, 480, 30), + ('1440p30', 2560, 1440, 30), + ('1440p60', 2560, 1440, 60), + ('2160p30', 3840, 2160, 30), + ('2160p60', 3840, 2160, 60) + + +--Insert data into category table +INSERT INTO Category(CategoryName) +VALUES + ('Comedy'), + ('Education'), + ('Entertainment'), + ('Film'), + ('Animation'), + ('Show'), + ('Gaming'), + ('News'), + ('Vlogs/Blogs'), + ('Technology'), + ('Sport') + + +--Insert data into production table +INSERT INTO Production(ProductionName) +VALUES + ('Warner Bros'), + ('Dreamworks'), + ('Disney') + + +--Insert data into audiogenre table +INSERT INTO AudioGenre(GenreName) +VALUES + ('Blues'), + ('Country'), + ('Electronic'), + ('Folk'), + ('Hip Hop'), + ('Jazz'), + ('Pop'), + ('R%B'), + ('Rock') + + +--Insert data into releasetype table +INSERT INTO ReleaseType(TypeName) +VALUES + ('Single'), + ('Album'), + ('EP'), + ('One off') + + +--Insert data into audiofiletypes table +INSERT INTO AudioFileTypes (TypeName, TypeExtention) +VALUES + ('Advanced Audio Coding', '.aac'), + ('Apple AIFF', '.aiff'), + ('Free Lossless Audio Codec', '.flac'), + ('MPEG-4 Audio', '.m4a'), + ('MPEG Layer III', '.mp3'), + ('Vorbis', '.ogg'), + ('Wave', '.wav'), + ('Windows Media Audio', '.wma') + + +--Insert data into imagefiletypes table +INSERT INTO ImageFileTypes (FileTypeName, FileTypeExtension) +VALUES + ('Joint Photographic Experts Group', '.jpeg'), + ('Joint Photographic Experts Group', '.jpg'), + ('Tagged Image File Format', '.tiff'), + ('Graphics Interchange File Format', '.gif'), + ('Windows Bitmap', '.bmp'), + ('Portable Network Graphics', '.png') + + +--Insert data into roleallocation table +INSERT INTO RoleAllocation (UserID, RoleID) +VALUES + (1, 2), + (1, 3), + (2, 1), + (3, 1), + (3, 2), + (3, 3), + (4, 2), + (4, 3), + (5, 1), + (5, 2), + (5, 3), + (5, 4), + (5, 5), + (5, 6), + (6, 1), + (6, 3), + (7, 1), + (7, 2), + (7, 3), + (7, 6), + (8, 1), + (10, 1), + (14, 1), + (15, 1) + + +--Insert data into mediaentry table (INTERESTING TABLE) + +INSERT INTO MediaEntry(CategoryID, UserID, ProductionID, Title, EntryDescription, UploadDate, Premium) +VALUES + (9, 2, NULL, 'Holiday snaps! :)', 'Loving life rn!', '2018-09-09 08:23:00', 0), + (4, 1, 1, 'Oliver!', 'After being sold to a mortician, young orphan Oliver Twist runs away and meets a group of boys trained to be pickpockets by an elderly mentor.', '2018-09-09 10:34:21', 1), + (1, 11, NULL, 'Best prank EVER!', 'She should have seen it coming! haha', '2018-09-09 12:04:58', 0), + (4, 8, NULL, 'The Howling Walkway', 'From my newest album, enjoy~', '2018-09-09 16:02:51', 0), + (8, 9, 1, 'Brexit Vote Uncertain', 'UK seems to not know whether brexit will happen at all...', '2018-09-10 02:33:13', 0), + (1, 2, NULL, 'Top Gear best moments!', 'Watch these three guys rant and rave for 20 minutes!!!!', '2018-09-10 03:52:01', 0), + (3, 3, NULL, 'Fake SD Card Scam!', 'Can you believe theyre selling this?!?!', '2018-09-10 06:00:04', 0), + (1, 2, NULL, '10 WORST Christmas Presents EVER!', 'Check out some of these horrible gifts...', '2018-09-10 09:29:40', 0), + (2, 5, 3, 'Popcorn Recipies', 'Some of my fav popcorn food :)', '2018-09-10 12:52:00', 0), + (1, 8, NULL, 'Ready Meal Taste Test', 'Yeah these arent good...', '2018-09-10 20:01:59', 0), + (6, 1, 1, 'Friends: Episode 16', 'Watch Friends HERE!', '2018-09-10 23:34:02', 1), + (3, 6, NULL, 'Deconstructing Nature', 'EDM album :3', '2018-09-11 09:29:22', 1), + (3, 7, NULL, 'Upcoming projects :eyes:', 'Just a teaser for the new film', '2018-09-11 10:00:52', 1), + (3, 7, NULL, 'Upcoming projects PART 2', 'Another teaser, why not :P', '2018-09-11 10:40:23', 1), + (9, 12, NULL, 'The world is amazing.', 'So nice.', '2018-09-11 14:38:32', 0), + (6, 5, 2, 'Cars Miniseries', 'Watch miniseries here', '2018-09-11 17:52:15', 1), + (6, 1, 1, 'Friends: Episode 17-20', 'Watch friends here', '2018-09-11 19:25:50', 1) + + + +--Insert data into contentpage table +INSERT INTO ContentPage(EntryID, Likes, Dislikes) +VALUES + (1, 500, 20), + (2, 20000, 500), + (3, 1, 1), + (4, 10, 0), + (5, 150, 320), + (6, 15, 3), + (7, 120, 14), + (8, 691, 142), + (9, 351, 21), + (10, 63, 12), + (11, 898, 32), + (12, 134, 6), + (13, 1740, 348), + (14, 1294, 211), + (15, 248, 42), + (16, 673, 84), + (17, 1482, 183) + + + +--Insert data into comment table +INSERT INTO Comment(UserID, PageID, Content, ParentComment) +VALUES + (1, 1, 'Love the pics! :)', NULL), + (2, 1, 'thx', 1), + (4, 1, 'Amazing', NULL), + (2, 1, 'thanks :)', 3), + (3, 2, 'A true classic.', NULL), + (1, 2, 'Agree!', 5), + (12, 5, 'idk about this one...', NULL), + (10, 7, 'Interesting, thanks for the tip!', NULL), + (5, 11, 'Such a good show!', NULL), + (3, 12, 'Tunes!', NULL), + (15, 17, 'Thanks for the upload!', NULL), + (3, 17, 'Ta!', NULL) + + +--Insert data into thumbnail table +INSERT INTO Thumbnail(EntryID, ThumbnailFileName, Height, Width) +VALUES + (1, 'snaps.png', 1920, 1080), + (2, 'oliver.png', 1920, 1080), + (3, 'prank.png', 1000, 1000), + (4, 'walkway.png', 2000, 2000), + (5, 'brexit.png', 1500, 600), + (6, 'top_.png', 750, 400), + (7, 'fake.png', 1200, 1200), + (8, 'worst.png', 1400, 1400), + (9, 'popcorn.png', 1920, 1080), + (10, 'meal.png', 1920, 1080), + (11, 'friends16.png', 1920, 1200), + (12, 'nat.png', 720, 720), + (13, 'up.png', 4000, 4000), + (14, 'up2.png', 4000, 4000), + (15, 'amaze.png', 1500, 1500), + (16, 'cars.png', 1280, 720), + (17, 'friends.png', 1920, 1200) + + + +--Insert data into imageentry table +INSERT INTO ImageEntry(EntryID, FileTypeID, ImageFileName, Height, Width) +VALUES + (1, 1, 'snap1', 500, 500), + (1, 1, 'snap2', 500, 500), + (1, 1, 'snap3', 500, 500), + (1, 4, 'vid1', 500, 500), + (3, 2, 'prank', 1280, 720), + (13, 6, 'pic1', 4000, 4000), + (13, 6, 'pic2', 4000, 4000), + (13, 6, 'pic3', 4000, 4000), + (13, 6, 'pic4', 4000, 4000), + (13, 6, 'pic5', 4000, 4000), + (13, 4, 'clip', 1920, 1080), + (14, 4, 'clip2', 1920, 1080), + (15, 3, 'world_pic', 4500, 3500), + (15, 3, 'world_pic2', 1000, 2000) + + +--Insert data into audioentry table +INSERT INTO AudioEntry(EntryID, FileTypeID, ReleaseTypeID, AudioLength, BitRate, AudioFileName) +VALUES + (4, 7, 1, 213, 256, 'the_howling_walkway'), + (12, 5, 2, 78, 320, 'sunrise'), + (12, 5, 2, 241, 320, 'deconstructing_nature'), + (12, 5, 2, 116, 320, 'dream_field'), + (12, 5, 2, 180, 320, 'floating_through_a_frozen_atlantis'), + (12, 5, 2, 43, 320, 'interlude'), + (12, 5, 2, 205, 320, 'broadcast'), + (12, 5, 2, 335, 320, 'skyshifer_vip'), + (12, 5, 2, 161, 320, 'serotonin'), + (12, 5, 2, 232, 320, 'data_corruption_symphony'), + (12, 5, 2, 449, 320, 'cherry_blossoms_explode_across_the_dying_horizon') + + + +--Insert data into audiopreview table +INSERT INTO AudioPreview(AudioID, FileTypeID, AudioLength, BitRate, AudioFileName) +VALUES + (1, 7, 28, 320, 'the_howling_walkway_1'), + (1, 2, 10, 320, 'the_howling_walkway_2'), + (1, 2, 20, 320, 'the_howling_walkway_3'), + (8, 3, 30, 1000, 'skyshifter_vip_1'), + (8, 3, 40, 1000, 'skyshifter_vip_2'), + (11, 3, 60, 1000, 'cherry_blossoms_explode_across_the_dying_horizon_1'), + (11, 3, 30, 1000, 'cherry_blossoms_explode_across_the_dying_horizon_2') + + + +--Insert data into videoentry table +INSERT INTO VideoEntry(EntryID, EncodeID, FileTypeID, AiredTypeID, VideoFileName, AiredOn, Length) +VALUES + (2, 6, 4, 2, 'oliver!', '1968-09-27', 9180), + (5, 2, 1, 1, 'brexit_uncertain', '2018-09-09', 300), + (6, 4, 3, 1, 'top_gear_best', '2012-01-01', 1204), + (7, 1, 6, 3, 'sd_card', '2018-09-01', 513), + (8, 2, 5, 5, 'worst_presents', '2017-12-01', 295), + (9, 1, 3, 5, 'pop_reci', '2018-04-09', 196), + (10, 2, 6, 5, 'ready_meal', '2018-08-28', 302), + (11, 7, 6, 1, 'friends_s1_e16', '1995-02-23', 1440), + (16, 9, 3, 1, 'Cars_mini_1', '2017-12-04', 740), + (17, 7, 6, 1, 'friends_17', '1995-02-23', 1367), + (17, 7, 6, 1, 'friends_18', '1995-03-02', 1485), + (17, 7, 6, 1, 'friends_19', '1995-03-09', 1501), + (17, 7, 6, 1, 'friends_20', '1995-04-06', 1402) + + + +--Insert data into videopreview table +INSERT INTO VideoPreview(VideoID, EncodeID, FileTypeID, VideoFileName, AiredOn, Length) +VALUES + (1, 6, 4, 'oliver_trailer_1', '1968-09-27', 132), + (1, 6, 4, 'oliver_trailer_2', '1968-09-27', 203), + (1, 6, 4, 'oliver_trailer_3', '1968-09-27', 152), + (1, 6, 4, 'oliver_trailer_4', '1968-09-27', 173), + (6, 4, 3, 'top_gear_best_preview', '2012-01-01', 124), + (11, 7, 6, 'friends_s1_e16_preview', '1995-02-23', 90), + (16, 9, 3, 'Cars_mini_1_preview', '2017-12-04', 94), + (17, 7, 6, 'friends_17_preview_1', '1995-02-22', 101), + (17, 7, 6, 'friends_17_preview_2', '1995-02-23', 99), + (17, 7, 6, 'friends_18_preview_1', '1995-03-01', 82), + (17, 7, 6, 'friends_18_preview_2', '1995-03-02', 100), + (17, 7, 6, 'friends_19_preview', '1995-03-09', 95), + (17, 7, 6, 'friends_20_preview', '1995-04-06', 95) + + +--Insert data into audiogenreentry table +INSERT INTO AudioGenreEntry(AudioID, GenreID) +VALUES + (1, 9), + (2, 3), + (3, 3), + (4, 3), + (5, 3), + (6, 3), + (7, 3), + (8, 3), + (9, 3), + (10, 3), + (11, 3) + + + + diff --git a/SQL/insert_generated.sql b/SQL/insert_generated.sql new file mode 100644 index 0000000000000000000000000000000000000000..2dabeea63a4a9783a502fd65cca587e97dba31f9 GIT binary patch literal 73910 zcmeI5S#KLjlE>?LfcXxbhlOW=ZLcNESHCRO-S)J5e66p>pwSRyS$4Z^%Yx)%+z<27 zclZCxKSP;C7Rlmai$xNKigZ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/DML/query 1.sql new file mode 100644 index 0000000..124e5f3 --- /dev/null +++ b/SQL/queries/DML/query 1.sql @@ -0,0 +1,6 @@ +CREATE PROCEDURE UpdateUserName @OldName varchar(255), @NewName varchar(255) +AS +UPDATE Users +SET UserName = @NewName, LikeCount = 0 +WHERE UserName = @OldName +GO \ No newline at end of file diff --git a/SQL/queries/DML/query 2.sql b/SQL/queries/DML/query 2.sql new file mode 100644 index 0000000..dee1fa6 --- /dev/null +++ b/SQL/queries/DML/query 2.sql @@ -0,0 +1,15 @@ +INSERT INTO MediaEntry(CategoryID, UserID, ProductionID, Title, EntryDescription, UploadDate, Premium) +VALUES + (3, 5, NULL, 'INSERT TEST', 'INSERT TEST', '2018-09-09 08:23:00', 0) + +INSERT INTO VideoEntry(EntryID, EncodeID, FileTypeID, AiredTypeID, VideoFileName, AiredOn, Length) +VALUES + (18, 6, 4, 2, 'TEST', '1968-09-27', 9180) + +INSERT INTO ImageEntry(EntryID, FileTypeID, ImageFileName, Height, Width) +VALUES + (18, 1, 'TEST', 500, 500) + +INSERT INTO ContentPage(EntryID, Likes, Dislikes) +VALUES + (18, 0, 0) \ No newline at end of file diff --git a/SQL/queries/DML/query 3.sql b/SQL/queries/DML/query 3.sql new file mode 100644 index 0000000..4cf4f49 --- /dev/null +++ b/SQL/queries/DML/query 3.sql @@ -0,0 +1,17 @@ +CREATE PROCEDURE RemoveMediaEntry @EntryID integer +AS +DELETE FROM ImageEntry +WHERE EntryID = @EntryID; +DELETE FROM AudioEntry +WHERE EntryID = @EntryID; +DELETE FROM VideoEntry +WHERE EntryID = @EntryID; +DELETE FROM Thumbnail +WHERE EntryID = @EntryID; +DELETE FROM Comment +WHERE PageID = @EntryID; +DELETE FROM ContentPage +WHERE PageID = @EntryID; +DELETE FROM MediaEntry +WHERE EntryID = @EntryID; +GO \ No newline at end of file diff --git a/SQL/queries/DML/query 4.sql b/SQL/queries/DML/query 4.sql new file mode 100644 index 0000000..1222386 --- /dev/null +++ b/SQL/queries/DML/query 4.sql @@ -0,0 +1,7 @@ +INSERT INTO VideoEntry(EntryID, EncodeID, FileTypeID, AiredTypeID, VideoFileName, AiredOn, Length) +VALUES + (1, 6, 4, 2, 'ENTRY 1', '2000-08-22', 2934) + +INSERT INTO VideoFileTypes(TypeName, TypeExtension, Codec) +VALUES + ('NEW TYPE', 'NEW TYPE', 'NEW TYPE') \ No newline at end of file diff --git a/SQL/queries/DML/query 5.sql b/SQL/queries/DML/query 5.sql new file mode 100644 index 0000000..0ba221a --- /dev/null +++ b/SQL/queries/DML/query 5.sql @@ -0,0 +1,9 @@ +CREATE PROCEDURE RemoveUser @UserID integer +AS +DELETE FROM RoleAllocation +WHERE UserID = @UserID; +DELETE FROM ProfilePicture +WHERE UserID = @UserID; +DELETE FROM Comment +WHERE UserID = @UserID; +GO \ No newline at end of file diff --git a/SQL/queries/query 1.sql b/SQL/queries/query 1.sql new file mode 100644 index 0000000..7ec5033 --- /dev/null +++ b/SQL/queries/query 1.sql @@ -0,0 +1,5 @@ +SELECT UserName, RoleName +FROM Users +LEFT JOIN RoleAllocation ON RoleAllocation.UserID = Users.UserID +LEFT JOIN Roles ON Roles.RoleID = RoleAllocation.RoleID +WHERE Users.UserId = 1 \ No newline at end of file diff --git a/SQL/queries/query 2.sql b/SQL/queries/query 2.sql new file mode 100644 index 0000000..59da073 --- /dev/null +++ b/SQL/queries/query 2.sql @@ -0,0 +1,5 @@ +SELECT UserName, LikeCount, UserDescription, PictureFileName, Height, Width, Content +FROM Users +LEFT JOIN ProfilePicture ON ProfilePicture.UserID = Users.UserID +LEFT JOIN Comment ON Comment.UserID = Users.UserID +WHERE Users.UserID = 1 \ No newline at end of file diff --git a/SQL/queries/query 3.sql b/SQL/queries/query 3.sql new file mode 100644 index 0000000..7e8cb10 --- /dev/null +++ b/SQL/queries/query 3.sql @@ -0,0 +1,11 @@ +SELECT Title, EntryDescription, UploadDate, ProductionName, CategoryName, ThumbnailFileName, Likes, Dislikes, Content, ParentComment, VideoFileName, AudioFileName, ImageFileName +FROM MediaEntry +LEFT JOIN Production ON Production.ProductionID = MediaEntry.ProductionID +LEFT JOIN Category ON Category.CategoryID = MediaEntry.CategoryID +LEFT JOIN ContentPage ON ContentPage.EntryID = MediaEntry.EntryID +LEFT JOIN Comment ON Comment.PageID = ContentPage.PageID +LEFT JOIN Thumbnail ON Thumbnail.EntryID = MediaEntry.EntryID +LEFT JOIN VideoEntry ON VideoEntry.EntryID = MediaEntry.EntryID +LEFT JOIN AudioEntry ON AudioEntry.EntryID = MediaEntry.EntryID +LEFT JOIN ImageEntry ON ImageEntry.EntryID = MediaEntry.EntryID +WHERE MediaEntry.EntryID = 1 \ No newline at end of file diff --git a/SQL/queries/query 4.sql b/SQL/queries/query 4.sql new file mode 100644 index 0000000..1c309d7 --- /dev/null +++ b/SQL/queries/query 4.sql @@ -0,0 +1,11 @@ +SELECT Title, EntryDescription, UploadDate, ProductionName, CategoryName, VideoEntry.VideoFileName, VideoPreview.VideoFileName, AudioEntry.AudioFileName, AudioPreview.AudioFileName, ImageFileName +FROM MediaEntry +LEFT JOIN Production ON Production.ProductionID = MediaEntry.ProductionID +LEFT JOIN Category ON Category.CategoryID = MediaEntry.CategoryID +LEFT JOIN VideoEntry ON VideoEntry.EntryID = MediaEntry.EntryID +--Include previews +LEFT JOIN VideoPreview ON VideoPreview.VideoID = VideoEntry.VideoID +LEFT JOIN AudioEntry ON AudioEntry.EntryID = MediaEntry.EntryID +LEFT JOIN AudioPreview ON AudioPreview.AudioID = AudioEntry.AudioID +LEFT JOIN ImageEntry ON ImageEntry.EntryID = MediaEntry.EntryID +WHERE MediaEntry.UserID = 1 \ No newline at end of file diff --git a/SQL/queries/query 5.sql b/SQL/queries/query 5.sql new file mode 100644 index 0000000..e356d04 --- /dev/null +++ b/SQL/queries/query 5.sql @@ -0,0 +1,12 @@ +SELECT Title, EntryDescription, UploadDate, ProductionName, CategoryName, VideoEntry.VideoFileName, VideoPreview.VideoFileName AS VideoPreviewName, AudioEntry.AudioFileName, AudioPreview.AudioFileName AS AudioPreviewName, ImageFileName, UserName +FROM MediaEntry +LEFT JOIN Users ON Users.UserID = MediaEntry.UserID +LEFT JOIN Production ON Production.ProductionID = MediaEntry.ProductionID +LEFT JOIN Category ON Category.CategoryID = MediaEntry.CategoryID +LEFT JOIN VideoEntry ON VideoEntry.EntryID = MediaEntry.EntryID +--Include previews +LEFT JOIN VideoPreview ON VideoPreview.VideoID = VideoEntry.VideoID +LEFT JOIN AudioEntry ON AudioEntry.EntryID = MediaEntry.EntryID +LEFT JOIN AudioPreview ON AudioPreview.AudioID = AudioEntry.AudioID +LEFT JOIN ImageEntry ON ImageEntry.EntryID = MediaEntry.EntryID +WHERE MediaEntry.UploadDate BETWEEN '2018-09-10 02:33:13' AND '2018-09-10 12:52:00' \ No newline at end of file diff --git a/SQL/views/Media.sql b/SQL/views/Media.sql new file mode 100644 index 0000000..28f6f67 --- /dev/null +++ b/SQL/views/Media.sql @@ -0,0 +1,4 @@ +SELECT +FROM dbo.MediaEntry INNER JOIN + dbo.Thumbnail ON dbo.MediaEntry.EntryID = dbo.Thumbnail.EntryID INNER JOIN + dbo.Category ON dbo.MediaEntry.CategoryID = dbo.Category.CategoryID \ No newline at end of file diff --git a/SQL/views/Production Entries.sql b/SQL/views/Production Entries.sql new file mode 100644 index 0000000..a65226a --- /dev/null +++ b/SQL/views/Production Entries.sql @@ -0,0 +1,4 @@ +SELECT dbo.MediaEntry.EntryID, dbo.Users.UserID, dbo.Users.UserName, dbo.Production.ProductionName +FROM dbo.Users INNER JOIN + dbo.MediaEntry ON dbo.Users.UserID = dbo.MediaEntry.UserID INNER JOIN + dbo.Production ON dbo.MediaEntry.ProductionID = dbo.Production.ProductionID \ No newline at end of file diff --git a/SQL/views/Users.sql b/SQL/views/Users.sql new file mode 100644 index 0000000..e4b48c2 --- /dev/null +++ b/SQL/views/Users.sql @@ -0,0 +1,5 @@ +SELECT dbo.Roles.RoleName, dbo.Users.LikeCount, dbo.Users.UserDescription, dbo.Users.UserName, dbo.ProfilePicture.PictureFileName, dbo.ProfilePicture.Height, dbo.ProfilePicture.Width +FROM dbo.Roles INNER JOIN + dbo.RoleAllocation ON dbo.Roles.RoleID = dbo.RoleAllocation.RoleID INNER JOIN + dbo.Users ON dbo.RoleAllocation.UserID = dbo.Users.UserID INNER JOIN + dbo.ProfilePicture ON dbo.Users.UserID = dbo.ProfilePicture.UserID \ No newline at end of file