Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Migration_06_Alter_Kit_Tabl.asp 758B

123456789101112131415161718192021222324
  1. <%
  2. Class Migration_06_Alter_Kit_Table
  3. Public Migration
  4. Public Sub Up
  5. Migration.Do "ALTER TABLE [Kit] " &_
  6. "ADD CreatedOn DATETIME;"
  7. Migration.Do "ALTER TABLE [Kit] " &_
  8. "ADD LabelsPrinted DATETIME;"
  9. Migration.Do "ALTER TABLE [Kit] " &_
  10. "ADD ExportedToSnailWorks DATETIME;"
  11. End Sub
  12. Public Sub Down
  13. Migration.Do "ALTER TABLE [Kit] " &_
  14. "DROP COLUMN CreatedOn;"
  15. Migration.Do "ALTER TABLE [Kit] " &_
  16. "DROP COLUMN LabelsPrinted;"
  17. Migration.Do "ALTER TABLE [Kit] " &_
  18. "DROP COLUMN ExportedToSnailWorks;"
  19. End Sub
  20. End Class
  21. Migrations.Add "Migration_06_Alter_Kit_Table"
  22. %>

Powered by TurnKey Linux.