You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 line
822B

  1. <%
  2. Class Migration_05_Create_Kit_Labels_Table
  3. Public Migration
  4. Public Sub Up
  5. Migration.Do "CREATE TABLE [KitLabels] (" &_
  6. "[ID] COUNTER," &_
  7. "[KitId] NUMBER," &_
  8. "[OutboundSerial] VARCHAR(255)," &_
  9. "[InBoundSerial] VARCHAR(255)," &_
  10. "[OutboundIMB] VARCHAR(255)," &_
  11. "[InBoundIMB] VARCHAR(255)," &_
  12. "[OutboundIMBDigits] VARCHAR(255)," &_
  13. "[InBoundIMBDigits] VARCHAR(255)" &_
  14. ");"
  15. Migration.Do "CREATE UNIQUE INDEX [ID] ON [KitLabels]( [ID] ) WITH PRIMARY;"
  16. End Sub
  17. Public Sub Down
  18. Migration.Do "DROP TABLE [KKitLabels]"
  19. End Sub
  20. End Class
  21. Migrations.Add "Migration_05_Create_Kit_Labels_Table"
  22. %>

Powered by TurnKey Linux.