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.

25 line
890B

  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. "[OutboundIMBPNG] MEMO," &_
  15. "[INBOUNDIMBPNG] MEMO);"
  16. Migration.Do "CREATE UNIQUE INDEX [ID] ON [KitLabels]( [ID] ) WITH PRIMARY;"
  17. End Sub
  18. Public Sub Down
  19. Migration.Do "DROP TABLE [KitLabels]"
  20. End Sub
  21. End Class
  22. Migrations.Add "Migration_05_Create_Kit_Labels_Table"
  23. %>

Powered by TurnKey Linux.