20260128073436_a2.cs 27 KB

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