çµè« ãæ軽ã¢ããªã¹ãªãAutoIncrementãå¹ççã ãããã§ããã ã¢ããªã±ã¼ã·ã§ã³å´ã§ä¸»ãã¼ãçæãããå ´åã¯LUIDãä½ãå¿ è¦ãããããGUIDã§å¤§ã¯å°ãå ¼ããã 主ãã¼ã§GUIDã使ããªãULIDãããUUIDv7ãããããã ã ãã ãåæ£ããã¦ããã¨ã³ã¸ã³ã«ãã£ã¦ã¯UUIDv4ã®æ¹ãå¹ççã«ãªãå ´åãããã 主ãã¼ã¯ååå ¬éããªãæ¹ãããã UUIDv7ãULIDã¯ã¦ãã¼ã¯æ§ãæã£ãInstant(timestamp)ã¨ãã¦ã使ããã åæ£ãããã·ã¹ãã ã§ã¯å³å¯ãªæç³»åæ§ãæ ä¿ãããã¨ã¯ã§ããªãããããããã¦ããã¯ãããã¤ã¤é£çªãä¸ãæã§çæããã RDBã®Primary Key(主ãã¼)ã¨ã¯ï¼ MySQLãPostgresQLãªã©ã®RDBã§ã¯åã¬ã³ã¼ããèå¥ããããã«ä¸æãªå¤ãå¿ è¦ã¨ãã¾ãããããPrimary Key(主ãã¼)ã¨å¼ã³ã¾ããå¥ã®ã«ã©ã ã«UNIQUEãªInd
{{#tags}}- {{label}}
{{/tags}}