No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

26 líneas
893B

  1. <%
  2. Class Migration_03_Create_Settings_Table
  3. Public Migration
  4. Public Sub Up
  5. Migration.Do "CREATE TABLE [Settings] (" &_
  6. "[ID] COUNTER," &_
  7. "[Name] VARCHAR(255)," &_
  8. "[Value] VARCHAR(255)" &_
  9. ");"
  10. Migration.Do "CREATE UNIQUE INDEX [ID] ON [Settings]( [ID] ) WITH PRIMARY;"
  11. Migration.Do "INSERT INTO Settings ([Name],[Value]) VALUES ('MailingID', '202248');"
  12. Migration.Do "INSERT INTO Settings ([Name],[Value]) VALUES ('SerialNumberStart','2000000');"
  13. Migration.Do "INSERT INTO Settings ([Name],[Value]) VALUES ('SerialNumberEnd','5000000');"
  14. Migration.Do "INSERT INTO Settings ([Name],[Value]) Values ('SerialOffset','2000000');"
  15. End Sub
  16. Public Sub Down
  17. Migration.Do "DROP TABLE [Settings]"
  18. End Sub
  19. End Class
  20. Migrations.Add "Migration_03_Create_Settings_Table"
  21. %>

Powered by TurnKey Linux.