| dbix :: class :: schema :: ¹öÀü DBIX :: Class :: Schema :: ¹öÀüÀÌ ÁöÁ¤µÈ °ÍÀº DBIX :: Class :: ½ºÅ°¸¶ ¾÷±×·¹À̵带À§ÇÑ ½ºÅ°¸¶ Ç÷¯±×ÀÎÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
dbix :: class :: schema :: ¹öÀü ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Jess Robinson and Luke Saunders
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~ash/DBIx-Class-0.08099_02/lib/DBIx/Class/Schema/Versioned.pm
dbix :: class :: schema :: ¹öÀü ű×
dbix :: class :: schema :: ¹öÀü ¼³¸í
DBIX :: Class :: Schema :: Versioned´Â ½ºÅ°¸¶ ¾÷±×·¹À̵带À§ÇÑ DBIX :: Class :: Schema PluginÀÔ´Ï´Ù. dbix :: class :: schema :: versioned´Â dbix :: class :: schema upgrade.synopsis ÆÐÅ°Áö ¶óÀ̺귯¸®¿¡ ´ëÇÑ ½ºÅ°¸¶ Ç÷¯±×ÀÎÀÔ´Ï´Ù. ±âº» QW / DBIX :: Ŭ·¡½º :: ½ºÅ°¸¶ /; # load library :: schema :: cd, library :: schema :: book, library :: schema :: DVD __package __-> load_classes (qw / cd book dvd /); __package __-> load_components (qw / + dbix :: class :: schema :: ¹öÀü /); __package __-> upgrade_directory ( '/ path / to / upplesades /'); __package __-> backup_directory ( '/ path / to / backups /');ÀÌ ¸ðµâÀº »õ·Î¿î ½ºÅ°¸¶ ·¹À̾ƿôÀ¸·Î ¾÷±×·¹À̵å ÇÒ ¼ö ÀÖµµ·Ï dbix :: class :: ½ºÅ°¸¶ Ŭ·¡½º¸¦ È®ÀåÇϵµ·Ï ¼³°èµÈ ±¸¼º ¿ä¼ÒÀÔ´Ï´Ù. ÀÌ ¸ðµâÀ» »ç¿ëÇÏ·Á¸é Schema¿¡¼ create_ddl_dirÀ» È£ÃâÇÏ¿© DBIX_CLASS_SCHEMA_VERSIONS°¡ »ý¼ºµÇ°í À¯Áö °ü¸®µË´Ï´Ù. ¿©±â¿¡´Â ½ºÅ°¸¶ÀÇ °¢ ¹öÀü°ú ¼³Ä¡µÈ ³¯Â¥ + ½Ã°£ÀÌ Æ÷ÇÔ µÈ µÎ °³ÀÇ Çʵå, '¹öÀü'¹× '¼³Ä¡'°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. ½ÇÁ¦ ¾÷±×·¹À̵å´Â ½ºÅ°¸¶ °³Ã¼¿¡¼ ¾÷±×·¹À̵带 È£ÃâÇÏ¿© ¼öµ¿À¸·Î ¼öµ¿À¸·Î È£ÃâµË´Ï´Ù. Äڵ尡 ¿¬°á ½Ã°£¿¡ ½ÇÇàµÇ¾î ¾÷±×·¹À̵尡 ÇÊ¿äÇÑÁö ¿©ºÎ¸¦ È®ÀÎÇÕ´Ï´Ù. ±×·¸´Ù¸é °æ°í "Versions of Sync"°¡ »ý¼ºµË´Ï´Ù. DDL ¹× diffs¸¦ »ý¼ºÇÏ´Â ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ·Á´Â ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ·Á´Â ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ·Á´Â ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ·Á´Â ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ°íÀÚÇÕ´Ï´Ù. .NB : ÇöÀç SQLite¿Í MySQL ¸¸ Áö¿øµË´Ï´Ù. ÀÌ°ÍÀº SQL :: Translator Á¦ÀÛÀÚÀÇ ¹ÝÁ¡ÀÌÀÖ´Â µ¿ÀÛÀ¸·Î ÀÎÇÑ °ÍÀÔ´Ï´Ù. À̵鿡 ÀÇÇØ µµ¿òÀ» ûÇϽʽÿÀ. ¡¤ Perl ¿ä±¸ »çÇ× : ¡¤ Perl.
dbix :: class :: schema :: ¹öÀü °ü·Ã ¼ÒÇÁÆ®¿þ¾î