20260128073436_a2.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  1. using Microsoft.EntityFrameworkCore.Migrations;
  2. #nullable disable
  3. namespace Infrastructure.Persistence.Migrations
  4. {
  5. /// <inheritdoc />
  6. public partial class a2 : Migration
  7. {
  8. /// <inheritdoc />
  9. protected override void Up(MigrationBuilder migrationBuilder)
  10. {
  11. migrationBuilder.AlterColumn<string>(
  12. name: "Meta_Viewport",
  13. table: "Config",
  14. type: "nvarchar(255)",
  15. maxLength: 255,
  16. nullable: true,
  17. comment: "Meta Viewport",
  18. oldClrType: typeof(string),
  19. oldType: "nvarchar(max)",
  20. oldNullable: true,
  21. oldComment: "Meta Viewport");
  22. migrationBuilder.AlterColumn<string>(
  23. name: "Meta_Robots",
  24. table: "Config",
  25. type: "nvarchar(255)",
  26. maxLength: 255,
  27. nullable: true,
  28. comment: "Meta Robots",
  29. oldClrType: typeof(string),
  30. oldType: "nvarchar(max)",
  31. oldNullable: true,
  32. oldComment: "Meta Robots");
  33. migrationBuilder.AlterColumn<string>(
  34. name: "Meta_Keywords",
  35. table: "Config",
  36. type: "nvarchar(255)",
  37. maxLength: 255,
  38. nullable: true,
  39. comment: "Meta Keywords",
  40. oldClrType: typeof(string),
  41. oldType: "nvarchar(max)",
  42. oldNullable: true,
  43. oldComment: "Meta Keywords");
  44. migrationBuilder.AlterColumn<string>(
  45. name: "Meta_Generator",
  46. table: "Config",
  47. type: "nvarchar(255)",
  48. maxLength: 255,
  49. nullable: true,
  50. comment: "Meta Generator",
  51. oldClrType: typeof(string),
  52. oldType: "nvarchar(max)",
  53. oldNullable: true,
  54. oldComment: "Meta Generator");
  55. migrationBuilder.AlterColumn<string>(
  56. name: "Meta_Description",
  57. table: "Config",
  58. type: "nvarchar(255)",
  59. maxLength: 255,
  60. nullable: true,
  61. comment: "Meta Description",
  62. oldClrType: typeof(string),
  63. oldType: "nvarchar(max)",
  64. oldNullable: true,
  65. oldComment: "Meta Description");
  66. migrationBuilder.AlterColumn<string>(
  67. name: "Meta_Author",
  68. table: "Config",
  69. type: "nvarchar(255)",
  70. maxLength: 255,
  71. nullable: true,
  72. comment: "Meta Author",
  73. oldClrType: typeof(string),
  74. oldType: "nvarchar(max)",
  75. oldNullable: true,
  76. oldComment: "Meta Author");
  77. migrationBuilder.AlterColumn<string>(
  78. name: "Meta_ApplicationName",
  79. table: "Config",
  80. type: "nvarchar(255)",
  81. maxLength: 255,
  82. nullable: true,
  83. comment: "Meta Application Name",
  84. oldClrType: typeof(string),
  85. oldType: "nvarchar(max)",
  86. oldNullable: true,
  87. oldComment: "Meta Application Name");
  88. migrationBuilder.AlterColumn<string>(
  89. name: "Company_ZipCode",
  90. table: "Config",
  91. type: "nvarchar(8)",
  92. maxLength: 8,
  93. nullable: true,
  94. comment: "사업장 주소(우편번호)",
  95. oldClrType: typeof(string),
  96. oldType: "nvarchar(20)",
  97. oldMaxLength: 20,
  98. oldNullable: true,
  99. oldComment: "사업장 주소(우편번호)");
  100. migrationBuilder.AlterColumn<string>(
  101. name: "Company_Tel",
  102. table: "Config",
  103. type: "nvarchar(20)",
  104. maxLength: 20,
  105. nullable: true,
  106. comment: "대표 전화번호",
  107. oldClrType: typeof(string),
  108. oldType: "nvarchar(max)",
  109. oldNullable: true);
  110. migrationBuilder.AlterColumn<string>(
  111. name: "Company_SiteUrl",
  112. table: "Config",
  113. type: "nvarchar(200)",
  114. maxLength: 200,
  115. nullable: true,
  116. comment: "사이트 주소",
  117. oldClrType: typeof(string),
  118. oldType: "nvarchar(300)",
  119. oldMaxLength: 300,
  120. oldNullable: true,
  121. oldComment: "사이트 주소");
  122. migrationBuilder.AlterColumn<string>(
  123. name: "Company_RetailSaleNo",
  124. table: "Config",
  125. type: "nvarchar(20)",
  126. maxLength: 20,
  127. nullable: true,
  128. comment: "통신판매업 신고번호",
  129. oldClrType: typeof(string),
  130. oldType: "nvarchar(max)",
  131. oldNullable: true);
  132. migrationBuilder.AlterColumn<string>(
  133. name: "Company_RegNo",
  134. table: "Config",
  135. type: "nvarchar(100)",
  136. maxLength: 100,
  137. nullable: true,
  138. comment: "사업자 등록 번호",
  139. oldClrType: typeof(string),
  140. oldType: "nvarchar(max)",
  141. oldNullable: true);
  142. migrationBuilder.AlterColumn<string>(
  143. name: "Company_Owner",
  144. table: "Config",
  145. type: "nvarchar(50)",
  146. maxLength: 50,
  147. nullable: true,
  148. comment: "대표자 명",
  149. oldClrType: typeof(string),
  150. oldType: "nvarchar(max)",
  151. oldNullable: true);
  152. migrationBuilder.AlterColumn<string>(
  153. name: "Company_Name",
  154. table: "Config",
  155. type: "nvarchar(70)",
  156. maxLength: 70,
  157. nullable: true,
  158. comment: "상호 명",
  159. oldClrType: typeof(string),
  160. oldType: "nvarchar(max)",
  161. oldNullable: true);
  162. migrationBuilder.AlterColumn<string>(
  163. name: "Company_Hosting",
  164. table: "Config",
  165. type: "nvarchar(100)",
  166. maxLength: 100,
  167. nullable: true,
  168. comment: "호스팅 서비스",
  169. oldClrType: typeof(string),
  170. oldType: "nvarchar(200)",
  171. oldMaxLength: 200,
  172. oldNullable: true,
  173. oldComment: "호스팅 서비스");
  174. migrationBuilder.AlterColumn<string>(
  175. name: "Company_Fax",
  176. table: "Config",
  177. type: "nvarchar(20)",
  178. maxLength: 20,
  179. nullable: true,
  180. comment: "FAX",
  181. oldClrType: typeof(string),
  182. oldType: "nvarchar(max)",
  183. oldNullable: true);
  184. migrationBuilder.AlterColumn<string>(
  185. name: "Company_BankOwner",
  186. table: "Config",
  187. type: "nvarchar(70)",
  188. maxLength: 70,
  189. nullable: true,
  190. comment: "입금계좌 - 예금주",
  191. oldClrType: typeof(string),
  192. oldType: "nvarchar(100)",
  193. oldMaxLength: 100,
  194. oldNullable: true,
  195. oldComment: "예금주");
  196. migrationBuilder.AlterColumn<string>(
  197. name: "Company_BankNumber",
  198. table: "Config",
  199. type: "nvarchar(100)",
  200. maxLength: 100,
  201. nullable: true,
  202. comment: "입금계좌 - 계좌번호",
  203. oldClrType: typeof(string),
  204. oldType: "nvarchar(50)",
  205. oldMaxLength: 50,
  206. oldNullable: true,
  207. oldComment: "계좌번호");
  208. migrationBuilder.AlterColumn<string>(
  209. name: "Company_BankCode",
  210. table: "Config",
  211. type: "nvarchar(10)",
  212. maxLength: 10,
  213. nullable: true,
  214. comment: "입금계좌 - 은행",
  215. oldClrType: typeof(string),
  216. oldType: "nvarchar(20)",
  217. oldMaxLength: 20,
  218. oldNullable: true,
  219. oldComment: "입금 계좌(은행 코드)");
  220. migrationBuilder.AlterColumn<string>(
  221. name: "Company_AdminName",
  222. table: "Config",
  223. type: "nvarchar(70)",
  224. maxLength: 70,
  225. nullable: true,
  226. comment: "정보관리책임자",
  227. oldClrType: typeof(string),
  228. oldType: "nvarchar(100)",
  229. oldMaxLength: 100,
  230. oldNullable: true,
  231. oldComment: "정보관리책임자");
  232. migrationBuilder.AlterColumn<string>(
  233. name: "Company_AdminEmail",
  234. table: "Config",
  235. type: "nvarchar(100)",
  236. maxLength: 100,
  237. nullable: true,
  238. comment: "정보관리책임자 이메일",
  239. oldClrType: typeof(string),
  240. oldType: "nvarchar(200)",
  241. oldMaxLength: 200,
  242. oldNullable: true,
  243. oldComment: "정보관리책임자 E-mail");
  244. migrationBuilder.AlterColumn<string>(
  245. name: "Company_AddedSaleNo",
  246. table: "Config",
  247. type: "nvarchar(20)",
  248. maxLength: 20,
  249. nullable: true,
  250. comment: "부가통신 사업자번호",
  251. oldClrType: typeof(string),
  252. oldType: "nvarchar(max)",
  253. oldNullable: true);
  254. migrationBuilder.AlterColumn<string>(
  255. name: "Basic_SmtpUsername",
  256. table: "Config",
  257. type: "nvarchar(100)",
  258. maxLength: 100,
  259. nullable: true,
  260. comment: "SMTP Username",
  261. oldClrType: typeof(string),
  262. oldType: "nvarchar(200)",
  263. oldMaxLength: 200,
  264. oldNullable: true,
  265. oldComment: "SMTP Username");
  266. migrationBuilder.AlterColumn<string>(
  267. name: "Basic_SmtpPassword",
  268. table: "Config",
  269. type: "nvarchar(200)",
  270. maxLength: 200,
  271. nullable: true,
  272. comment: "SMTP Password",
  273. oldClrType: typeof(string),
  274. oldType: "nvarchar(max)",
  275. oldNullable: true,
  276. oldComment: "SMTP Password (암호화 저장 권장)");
  277. migrationBuilder.AlterColumn<bool>(
  278. name: "Basic_SmtpEnableSSL",
  279. table: "Config",
  280. type: "bit",
  281. nullable: false,
  282. defaultValue: false,
  283. comment: "SMTP Enable SSL",
  284. oldClrType: typeof(bool),
  285. oldType: "bit",
  286. oldNullable: true,
  287. oldComment: "SMTP Enable SSL");
  288. migrationBuilder.AlterColumn<string>(
  289. name: "Basic_FrontWhiteIPList",
  290. table: "Config",
  291. type: "nvarchar(1000)",
  292. maxLength: 1000,
  293. nullable: true,
  294. comment: "사용자단 접근 가능 IP",
  295. oldClrType: typeof(string),
  296. oldType: "nvarchar(max)",
  297. oldNullable: true,
  298. oldComment: "사용자단 접근 가능 IP");
  299. migrationBuilder.AlterColumn<string>(
  300. name: "Basic_FromName",
  301. table: "Config",
  302. type: "nvarchar(30)",
  303. maxLength: 30,
  304. nullable: true,
  305. comment: "송수신자 이름",
  306. oldClrType: typeof(string),
  307. oldType: "nvarchar(100)",
  308. oldMaxLength: 100,
  309. oldNullable: true,
  310. oldComment: "송수신자 이름");
  311. migrationBuilder.AlterColumn<string>(
  312. name: "Basic_FromEmail",
  313. table: "Config",
  314. type: "nvarchar(100)",
  315. maxLength: 100,
  316. nullable: true,
  317. comment: "송수신 이메일",
  318. oldClrType: typeof(string),
  319. oldType: "nvarchar(200)",
  320. oldMaxLength: 200,
  321. oldNullable: true,
  322. oldComment: "송수신 이메일");
  323. migrationBuilder.AlterColumn<string>(
  324. name: "Basic_AdminWhiteIPList",
  325. table: "Config",
  326. type: "nvarchar(1000)",
  327. maxLength: 1000,
  328. nullable: true,
  329. comment: "관리자단 접근 가능 IP",
  330. oldClrType: typeof(string),
  331. oldType: "nvarchar(max)",
  332. oldNullable: true,
  333. oldComment: "관리자단 접근 가능 IP");
  334. migrationBuilder.AddColumn<string>(
  335. name: "Company_Address",
  336. table: "Config",
  337. type: "nvarchar(255)",
  338. maxLength: 255,
  339. nullable: true,
  340. comment: "사업장 소재지");
  341. migrationBuilder.AddColumn<string>(
  342. name: "Images_AppIcon_192",
  343. table: "Config",
  344. type: "nvarchar(255)",
  345. maxLength: 255,
  346. nullable: true,
  347. comment: "App-icon-192");
  348. migrationBuilder.AddColumn<string>(
  349. name: "Images_AppIcon_512",
  350. table: "Config",
  351. type: "nvarchar(255)",
  352. maxLength: 255,
  353. nullable: true,
  354. comment: "App-icon-512");
  355. migrationBuilder.AddColumn<string>(
  356. name: "Images_AppleTouchIcon",
  357. table: "Config",
  358. type: "nvarchar(255)",
  359. maxLength: 255,
  360. nullable: true,
  361. comment: "Apple-touch-icon");
  362. migrationBuilder.AddColumn<string>(
  363. name: "Images_Favicon",
  364. table: "Config",
  365. type: "nvarchar(255)",
  366. maxLength: 255,
  367. nullable: true,
  368. comment: "Favicon");
  369. migrationBuilder.AddColumn<string>(
  370. name: "Images_LogoHorizontal",
  371. table: "Config",
  372. type: "nvarchar(255)",
  373. maxLength: 255,
  374. nullable: true,
  375. comment: "Logo-horizontal");
  376. migrationBuilder.AddColumn<string>(
  377. name: "Images_LogoSquare",
  378. table: "Config",
  379. type: "nvarchar(255)",
  380. maxLength: 255,
  381. nullable: true,
  382. comment: "Logo-square");
  383. migrationBuilder.AddColumn<string>(
  384. name: "Images_OgDefault",
  385. table: "Config",
  386. type: "nvarchar(255)",
  387. maxLength: 255,
  388. nullable: true,
  389. comment: "og-default");
  390. migrationBuilder.AddColumn<string>(
  391. name: "Images_TwitterImage",
  392. table: "Config",
  393. type: "nvarchar(255)",
  394. maxLength: 255,
  395. nullable: true,
  396. comment: "Twitter-image");
  397. }
  398. /// <inheritdoc />
  399. protected override void Down(MigrationBuilder migrationBuilder)
  400. {
  401. migrationBuilder.DropColumn(
  402. name: "Company_Address",
  403. table: "Config");
  404. migrationBuilder.DropColumn(
  405. name: "Images_AppIcon_192",
  406. table: "Config");
  407. migrationBuilder.DropColumn(
  408. name: "Images_AppIcon_512",
  409. table: "Config");
  410. migrationBuilder.DropColumn(
  411. name: "Images_AppleTouchIcon",
  412. table: "Config");
  413. migrationBuilder.DropColumn(
  414. name: "Images_Favicon",
  415. table: "Config");
  416. migrationBuilder.DropColumn(
  417. name: "Images_LogoHorizontal",
  418. table: "Config");
  419. migrationBuilder.DropColumn(
  420. name: "Images_LogoSquare",
  421. table: "Config");
  422. migrationBuilder.DropColumn(
  423. name: "Images_OgDefault",
  424. table: "Config");
  425. migrationBuilder.DropColumn(
  426. name: "Images_TwitterImage",
  427. table: "Config");
  428. migrationBuilder.AlterColumn<string>(
  429. name: "Meta_Viewport",
  430. table: "Config",
  431. type: "nvarchar(max)",
  432. nullable: true,
  433. comment: "Meta Viewport",
  434. oldClrType: typeof(string),
  435. oldType: "nvarchar(255)",
  436. oldMaxLength: 255,
  437. oldNullable: true,
  438. oldComment: "Meta Viewport");
  439. migrationBuilder.AlterColumn<string>(
  440. name: "Meta_Robots",
  441. table: "Config",
  442. type: "nvarchar(max)",
  443. nullable: true,
  444. comment: "Meta Robots",
  445. oldClrType: typeof(string),
  446. oldType: "nvarchar(255)",
  447. oldMaxLength: 255,
  448. oldNullable: true,
  449. oldComment: "Meta Robots");
  450. migrationBuilder.AlterColumn<string>(
  451. name: "Meta_Keywords",
  452. table: "Config",
  453. type: "nvarchar(max)",
  454. nullable: true,
  455. comment: "Meta Keywords",
  456. oldClrType: typeof(string),
  457. oldType: "nvarchar(255)",
  458. oldMaxLength: 255,
  459. oldNullable: true,
  460. oldComment: "Meta Keywords");
  461. migrationBuilder.AlterColumn<string>(
  462. name: "Meta_Generator",
  463. table: "Config",
  464. type: "nvarchar(max)",
  465. nullable: true,
  466. comment: "Meta Generator",
  467. oldClrType: typeof(string),
  468. oldType: "nvarchar(255)",
  469. oldMaxLength: 255,
  470. oldNullable: true,
  471. oldComment: "Meta Generator");
  472. migrationBuilder.AlterColumn<string>(
  473. name: "Meta_Description",
  474. table: "Config",
  475. type: "nvarchar(max)",
  476. nullable: true,
  477. comment: "Meta Description",
  478. oldClrType: typeof(string),
  479. oldType: "nvarchar(255)",
  480. oldMaxLength: 255,
  481. oldNullable: true,
  482. oldComment: "Meta Description");
  483. migrationBuilder.AlterColumn<string>(
  484. name: "Meta_Author",
  485. table: "Config",
  486. type: "nvarchar(max)",
  487. nullable: true,
  488. comment: "Meta Author",
  489. oldClrType: typeof(string),
  490. oldType: "nvarchar(255)",
  491. oldMaxLength: 255,
  492. oldNullable: true,
  493. oldComment: "Meta Author");
  494. migrationBuilder.AlterColumn<string>(
  495. name: "Meta_ApplicationName",
  496. table: "Config",
  497. type: "nvarchar(max)",
  498. nullable: true,
  499. comment: "Meta Application Name",
  500. oldClrType: typeof(string),
  501. oldType: "nvarchar(255)",
  502. oldMaxLength: 255,
  503. oldNullable: true,
  504. oldComment: "Meta Application Name");
  505. migrationBuilder.AlterColumn<string>(
  506. name: "Company_ZipCode",
  507. table: "Config",
  508. type: "nvarchar(20)",
  509. maxLength: 20,
  510. nullable: true,
  511. comment: "사업장 주소(우편번호)",
  512. oldClrType: typeof(string),
  513. oldType: "nvarchar(8)",
  514. oldMaxLength: 8,
  515. oldNullable: true,
  516. oldComment: "사업장 주소(우편번호)");
  517. migrationBuilder.AlterColumn<string>(
  518. name: "Company_Tel",
  519. table: "Config",
  520. type: "nvarchar(max)",
  521. nullable: true,
  522. oldClrType: typeof(string),
  523. oldType: "nvarchar(20)",
  524. oldMaxLength: 20,
  525. oldNullable: true,
  526. oldComment: "대표 전화번호");
  527. migrationBuilder.AlterColumn<string>(
  528. name: "Company_SiteUrl",
  529. table: "Config",
  530. type: "nvarchar(300)",
  531. maxLength: 300,
  532. nullable: true,
  533. comment: "사이트 주소",
  534. oldClrType: typeof(string),
  535. oldType: "nvarchar(200)",
  536. oldMaxLength: 200,
  537. oldNullable: true,
  538. oldComment: "사이트 주소");
  539. migrationBuilder.AlterColumn<string>(
  540. name: "Company_RetailSaleNo",
  541. table: "Config",
  542. type: "nvarchar(max)",
  543. nullable: true,
  544. oldClrType: typeof(string),
  545. oldType: "nvarchar(20)",
  546. oldMaxLength: 20,
  547. oldNullable: true,
  548. oldComment: "통신판매업 신고번호");
  549. migrationBuilder.AlterColumn<string>(
  550. name: "Company_RegNo",
  551. table: "Config",
  552. type: "nvarchar(max)",
  553. nullable: true,
  554. oldClrType: typeof(string),
  555. oldType: "nvarchar(100)",
  556. oldMaxLength: 100,
  557. oldNullable: true,
  558. oldComment: "사업자 등록 번호");
  559. migrationBuilder.AlterColumn<string>(
  560. name: "Company_Owner",
  561. table: "Config",
  562. type: "nvarchar(max)",
  563. nullable: true,
  564. oldClrType: typeof(string),
  565. oldType: "nvarchar(50)",
  566. oldMaxLength: 50,
  567. oldNullable: true,
  568. oldComment: "대표자 명");
  569. migrationBuilder.AlterColumn<string>(
  570. name: "Company_Name",
  571. table: "Config",
  572. type: "nvarchar(max)",
  573. nullable: true,
  574. oldClrType: typeof(string),
  575. oldType: "nvarchar(70)",
  576. oldMaxLength: 70,
  577. oldNullable: true,
  578. oldComment: "상호 명");
  579. migrationBuilder.AlterColumn<string>(
  580. name: "Company_Hosting",
  581. table: "Config",
  582. type: "nvarchar(200)",
  583. maxLength: 200,
  584. nullable: true,
  585. comment: "호스팅 서비스",
  586. oldClrType: typeof(string),
  587. oldType: "nvarchar(100)",
  588. oldMaxLength: 100,
  589. oldNullable: true,
  590. oldComment: "호스팅 서비스");
  591. migrationBuilder.AlterColumn<string>(
  592. name: "Company_Fax",
  593. table: "Config",
  594. type: "nvarchar(max)",
  595. nullable: true,
  596. oldClrType: typeof(string),
  597. oldType: "nvarchar(20)",
  598. oldMaxLength: 20,
  599. oldNullable: true,
  600. oldComment: "FAX");
  601. migrationBuilder.AlterColumn<string>(
  602. name: "Company_BankOwner",
  603. table: "Config",
  604. type: "nvarchar(100)",
  605. maxLength: 100,
  606. nullable: true,
  607. comment: "예금주",
  608. oldClrType: typeof(string),
  609. oldType: "nvarchar(70)",
  610. oldMaxLength: 70,
  611. oldNullable: true,
  612. oldComment: "입금계좌 - 예금주");
  613. migrationBuilder.AlterColumn<string>(
  614. name: "Company_BankNumber",
  615. table: "Config",
  616. type: "nvarchar(50)",
  617. maxLength: 50,
  618. nullable: true,
  619. comment: "계좌번호",
  620. oldClrType: typeof(string),
  621. oldType: "nvarchar(100)",
  622. oldMaxLength: 100,
  623. oldNullable: true,
  624. oldComment: "입금계좌 - 계좌번호");
  625. migrationBuilder.AlterColumn<string>(
  626. name: "Company_BankCode",
  627. table: "Config",
  628. type: "nvarchar(20)",
  629. maxLength: 20,
  630. nullable: true,
  631. comment: "입금 계좌(은행 코드)",
  632. oldClrType: typeof(string),
  633. oldType: "nvarchar(10)",
  634. oldMaxLength: 10,
  635. oldNullable: true,
  636. oldComment: "입금계좌 - 은행");
  637. migrationBuilder.AlterColumn<string>(
  638. name: "Company_AdminName",
  639. table: "Config",
  640. type: "nvarchar(100)",
  641. maxLength: 100,
  642. nullable: true,
  643. comment: "정보관리책임자",
  644. oldClrType: typeof(string),
  645. oldType: "nvarchar(70)",
  646. oldMaxLength: 70,
  647. oldNullable: true,
  648. oldComment: "정보관리책임자");
  649. migrationBuilder.AlterColumn<string>(
  650. name: "Company_AdminEmail",
  651. table: "Config",
  652. type: "nvarchar(200)",
  653. maxLength: 200,
  654. nullable: true,
  655. comment: "정보관리책임자 E-mail",
  656. oldClrType: typeof(string),
  657. oldType: "nvarchar(100)",
  658. oldMaxLength: 100,
  659. oldNullable: true,
  660. oldComment: "정보관리책임자 이메일");
  661. migrationBuilder.AlterColumn<string>(
  662. name: "Company_AddedSaleNo",
  663. table: "Config",
  664. type: "nvarchar(max)",
  665. nullable: true,
  666. oldClrType: typeof(string),
  667. oldType: "nvarchar(20)",
  668. oldMaxLength: 20,
  669. oldNullable: true,
  670. oldComment: "부가통신 사업자번호");
  671. migrationBuilder.AlterColumn<string>(
  672. name: "Basic_SmtpUsername",
  673. table: "Config",
  674. type: "nvarchar(200)",
  675. maxLength: 200,
  676. nullable: true,
  677. comment: "SMTP Username",
  678. oldClrType: typeof(string),
  679. oldType: "nvarchar(100)",
  680. oldMaxLength: 100,
  681. oldNullable: true,
  682. oldComment: "SMTP Username");
  683. migrationBuilder.AlterColumn<string>(
  684. name: "Basic_SmtpPassword",
  685. table: "Config",
  686. type: "nvarchar(max)",
  687. nullable: true,
  688. comment: "SMTP Password (암호화 저장 권장)",
  689. oldClrType: typeof(string),
  690. oldType: "nvarchar(200)",
  691. oldMaxLength: 200,
  692. oldNullable: true,
  693. oldComment: "SMTP Password");
  694. migrationBuilder.AlterColumn<bool>(
  695. name: "Basic_SmtpEnableSSL",
  696. table: "Config",
  697. type: "bit",
  698. nullable: true,
  699. comment: "SMTP Enable SSL",
  700. oldClrType: typeof(bool),
  701. oldType: "bit",
  702. oldComment: "SMTP Enable SSL");
  703. migrationBuilder.AlterColumn<string>(
  704. name: "Basic_FrontWhiteIPList",
  705. table: "Config",
  706. type: "nvarchar(max)",
  707. nullable: true,
  708. comment: "사용자단 접근 가능 IP",
  709. oldClrType: typeof(string),
  710. oldType: "nvarchar(1000)",
  711. oldMaxLength: 1000,
  712. oldNullable: true,
  713. oldComment: "사용자단 접근 가능 IP");
  714. migrationBuilder.AlterColumn<string>(
  715. name: "Basic_FromName",
  716. table: "Config",
  717. type: "nvarchar(100)",
  718. maxLength: 100,
  719. nullable: true,
  720. comment: "송수신자 이름",
  721. oldClrType: typeof(string),
  722. oldType: "nvarchar(30)",
  723. oldMaxLength: 30,
  724. oldNullable: true,
  725. oldComment: "송수신자 이름");
  726. migrationBuilder.AlterColumn<string>(
  727. name: "Basic_FromEmail",
  728. table: "Config",
  729. type: "nvarchar(200)",
  730. maxLength: 200,
  731. nullable: true,
  732. comment: "송수신 이메일",
  733. oldClrType: typeof(string),
  734. oldType: "nvarchar(100)",
  735. oldMaxLength: 100,
  736. oldNullable: true,
  737. oldComment: "송수신 이메일");
  738. migrationBuilder.AlterColumn<string>(
  739. name: "Basic_AdminWhiteIPList",
  740. table: "Config",
  741. type: "nvarchar(max)",
  742. nullable: true,
  743. comment: "관리자단 접근 가능 IP",
  744. oldClrType: typeof(string),
  745. oldType: "nvarchar(1000)",
  746. oldMaxLength: 1000,
  747. oldNullable: true,
  748. oldComment: "관리자단 접근 가능 IP");
  749. }
  750. }
  751. }