20260128073436_a2.cs 26 KB

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