Quellcode durchsuchen

added CustomOfficeCopyJob Table

pull/8/head
Daniel Covington vor 2 Monaten
Ursprung
Commit
ff9843cc3f
3 geänderte Dateien mit 25 neuen und 0 gelöschten Zeilen
  1. +1
    -0
      App/Views/Home/Index.asp
  2. +23
    -0
      Data/Migrations/Migration_18_Create_CustomOfficeCopyJob_Table.asp
  3. +1
    -0
      Data/Migrations/migrate.asp

+ 1
- 0
App/Views/Home/Index.asp Datei anzeigen

@@ -12,6 +12,7 @@
<%= Html.LinkTOExt("Create Kit","Home","CreateKit",empty,Array("Class","list-group-item list-group-item-action")) %>
<%= Html.LinkTOExt("View Tracking Kits","Kit","SwitchBoardIndex",empty,Array("Class","list-group-item list-group-item-action")) %>
<%= Html.LinkTOExt("View Purple Envelope Jobs","Kit","SwitchBoardPurpleEnvelopsIndex",empty,Array("Class","list-group-item list-group-item-action")) %>
<%= Html.LinkTOExt("Custom Office Copies","Kit","SwitchBoardPurpleEnvelopsIndex",empty,Array("Class","list-group-item list-group-item-action")) %>
</div>
</div>
</div


+ 23
- 0
Data/Migrations/Migration_18_Create_CustomOfficeCopyJob_Table.asp Datei anzeigen

@@ -0,0 +1,23 @@
<%
Class Migration_18_Create_CustomOfficeCopyJob_Table
Public Migration

Public Sub Up
Migration.Do "CREATE TABLE [CustomOfficeCopyJob] (" &_
"[ID] COUNTER," &_
"[Jcode] VARCHAR(15)," &_
"[Precinct] VARCHAR(20)," &_
"[StartingBallotNumber] LONG," &_
"[Amount] LONG," &_
"[Status] VARCHAR(100)," &_
"[Donedate] DATETIME" &_
");"
Migration.Do "CREATE UNIQUE INDEX [ID] ON [CustomOfficeCopyJob]( [ID] ) WITH PRIMARY;"
End Sub
Public Sub Down
Migration.Do "DROP TABLE [CustomOfficeCopyJob]"
End Sub
End Class
Migrations.Add "Migration_18_Create_CustomOfficeCopyJob_Table"
%>

+ 1
- 0
Data/Migrations/migrate.asp Datei anzeigen

@@ -45,6 +45,7 @@ Migrations.Tracing = false
<!--#include file="Migration_14_Alter_Kit_Table_With_STIDS.asp"-->
<!--#include file="Migration_15_Alter_InkJetRecords_Table_With_KitLabelID.asp"-->
<!--#include file="Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount.asp"-->
<!--#include file="Migration_18_Create_CustomOfficeCopyJob_Table.asp"-->
<%
Sub HandleMigration
putl "<b>Starting Version: " & Migrations.Version & "</b>"


Laden…
Abbrechen
Speichern

Powered by TurnKey Linux.