migrations/Version20220206100125.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7. * Auto-generated Migration: Please modify to your needs!
  8. */
  9. final class Version20220206100125 extends AbstractMigration
  10. {
  11. public function getDescription(): string
  12. {
  13. return '';
  14. }
  15. public function up(Schema $schema): void
  16. {
  17. $this->addSql('ALTER TABLE exams ADD allowed_resources VARCHAR(255) DEFAULT NULL AFTER paper_only');
  18. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 5");
  19. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 6");
  20. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 17");
  21. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 18");
  22. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 15");
  23. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 16");
  24. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 35");
  25. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 41");
  26. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 149");
  27. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 140");
  28. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 144");
  29. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 151");
  30. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 188");
  31. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 38");
  32. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 43");
  33. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 150");
  34. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 141");
  35. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 145");
  36. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 152");
  37. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 189");
  38. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 36");
  39. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 42");
  40. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 138");
  41. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 142");
  42. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 146");
  43. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 153");
  44. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 155");
  45. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 190");
  46. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 245");
  47. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 279");
  48. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 39");
  49. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 44");
  50. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 139");
  51. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 143");
  52. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 147");
  53. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 154");
  54. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 156");
  55. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 191");
  56. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 192");
  57. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 246");
  58. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 37");
  59. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 73");
  60. $this->addSql("UPDATE exams SET allowed_resources='Student may open and print the PDF which is available once the exam is started.' WHERE id = 40");
  61. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 32");
  62. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 33");
  63. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 30");
  64. $this->addSql("UPDATE exams SET allowed_resources='Blank paper allowed, student may choose to write answers on this paper' WHERE id = 31");
  65. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 280");
  66. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 281");
  67. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 393");
  68. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 290");
  69. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 394");
  70. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 395");
  71. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 396");
  72. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 200");
  73. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 204");
  74. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 202");
  75. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 285");
  76. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 282");
  77. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 277");
  78. $this->addSql("UPDATE exams SET allowed_resources='Calculator, scrap paper, open notes and Coopersmith study materials allowed' WHERE id = 239");
  79. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 380");
  80. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 311");
  81. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 249");
  82. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 379");
  83. $this->addSql("UPDATE exams SET allowed_resources='Calculator, scrap paper and open notes allowed' WHERE id = 391");
  84. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 310");
  85. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 309");
  86. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 296");
  87. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 314");
  88. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 205");
  89. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 318");
  90. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 232");
  91. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 305");
  92. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 381");
  93. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 306");
  94. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 308");
  95. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 307");
  96. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 236");
  97. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 237");
  98. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 388");
  99. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 389");
  100. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 254");
  101. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 390");
  102. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 196");
  103. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 195");
  104. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 201");
  105. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 197");
  106. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 264");
  107. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 288");
  108. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 303");
  109. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 319");
  110. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; open book exam' WHERE id = 234");
  111. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; open book exam' WHERE id = 235");
  112. $this->addSql("UPDATE exams SET allowed_resources='Non-graphing calculator and scrap paper allowed' WHERE id = 193");
  113. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 194");
  114. $this->addSql("UPDATE exams SET allowed_resources='Non-graphing calculator and scrap paper allowed' WHERE id = 213");
  115. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 265");
  116. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 313");
  117. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 289");
  118. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Excel' WHERE id = 315");
  119. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 312");
  120. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 214");
  121. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 217");
  122. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 215");
  123. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 283");
  124. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 219");
  125. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 226");
  126. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 225");
  127. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 386");
  128. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 378");
  129. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 210");
  130. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 203");
  131. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 199");
  132. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 198");
  133. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 240");
  134. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 248");
  135. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 261");
  136. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; open book exam' WHERE id = 257");
  137. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; open book exam' WHERE id = 258");
  138. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; open book exam' WHERE id = 259");
  139. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 263");
  140. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 216");
  141. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 392");
  142. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 231");
  143. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 224");
  144. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 220");
  145. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 221");
  146. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Word' WHERE id = 209");
  147. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed; student may open Powerpoint' WHERE id = 208");
  148. $this->addSql("UPDATE exams SET allowed_resources='Calculator, scrap paper and open notes allowed; student may open Excel' WHERE id = 207");
  149. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 206");
  150. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 262");
  151. $this->addSql("UPDATE exams SET allowed_resources='Calculator and scrap paper allowed' WHERE id = 385");
  152. $this->addSql("UPDATE exams SET allowed_resources='Calculator allowed' WHERE id = 332");
  153. $this->addSql("UPDATE exams SET allowed_resources='Calculator allowed' WHERE id = 353");
  154. $this->addSql("UPDATE exams SET allowed_resources='Calculator allowed' WHERE id = 375");
  155. $this->addSql("UPDATE exams SET allowed_resources='Calculator allowed' WHERE id = 333");
  156. }
  157. public function down(Schema $schema): void
  158. {
  159. $this->addSql('ALTER TABLE exams DROP allowed_resources');
  160. }
  161. }