-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #412 from classtranscribe/AddASLVideo3
Add asl video3
- Loading branch information
Showing
8 changed files
with
4,003 additions
and
7 deletions.
There are no files selected for viewing
1,887 changes: 1,887 additions & 0 deletions
1,887
ClassTranscribeDatabase/Migrations/20231011192212_aslvideo3.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
82 changes: 82 additions & 0 deletions
82
ClassTranscribeDatabase/Migrations/20231011192212_aslvideo3.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
namespace ClassTranscribeDatabase.Migrations | ||
{ | ||
public partial class aslvideo3 : Migration | ||
{ | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AddColumn<string>( | ||
name: "ASLVideoId", | ||
table: "Videos", | ||
nullable: true); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "ProcessedASLVideoId", | ||
table: "Videos", | ||
nullable: true); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "ProcessingLog", | ||
table: "Videos", | ||
nullable: true); | ||
|
||
migrationBuilder.CreateIndex( | ||
name: "IX_Videos_ASLVideoId", | ||
table: "Videos", | ||
column: "ASLVideoId"); | ||
|
||
migrationBuilder.CreateIndex( | ||
name: "IX_Videos_ProcessedASLVideoId", | ||
table: "Videos", | ||
column: "ProcessedASLVideoId"); | ||
|
||
migrationBuilder.AddForeignKey( | ||
name: "FK_Videos_FileRecords_ASLVideoId", | ||
table: "Videos", | ||
column: "ASLVideoId", | ||
principalTable: "FileRecords", | ||
principalColumn: "Id", | ||
onDelete: ReferentialAction.Restrict); | ||
|
||
migrationBuilder.AddForeignKey( | ||
name: "FK_Videos_FileRecords_ProcessedASLVideoId", | ||
table: "Videos", | ||
column: "ProcessedASLVideoId", | ||
principalTable: "FileRecords", | ||
principalColumn: "Id", | ||
onDelete: ReferentialAction.Restrict); | ||
} | ||
|
||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropForeignKey( | ||
name: "FK_Videos_FileRecords_ASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropForeignKey( | ||
name: "FK_Videos_FileRecords_ProcessedASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropIndex( | ||
name: "IX_Videos_ASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropIndex( | ||
name: "IX_Videos_ProcessedASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "ASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "ProcessedASLVideoId", | ||
table: "Videos"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "ProcessingLog", | ||
table: "Videos"); | ||
} | ||
} | ||
} |
Oops, something went wrong.