博客
关于我
丛林战争游戏数据库设计
阅读量:90 次
发布时间:2019-02-26

本文共 1208 字,大约阅读时间需要 4 分钟。

?????????

?????????????????????????????????????????????????

???????User??????????????????

  • username?????- ??????????????
  • password????- ?????????????
  • id????- ??????????

????????

  • ??InnoDB?????????
  • username??????????????????
  • id?????????????????????
  • ?????Result???????????????????

    • id????- ??????????
    • userid????- ???????????id??????????
    • totalcount?????- ???null?????0
    • wincount??????- ???????0

    ????????

  • totalcount??????null?????0????????
  • wincount????????????0??????????
  • ?????????????
  • SQL??Game.sql???????????SQL?????InnoDB?????????utf8???????????

    ??????????

  • ???????result?
    • id???int???????null?????
    • userid???int?????????null???????
    • totalcount?????int?????null?????0
    • wincount?????int??????null?????0
    • ??primary key???id??
    • ??????fk_userid???user??id??
    1. ???????user?
      • id???int???????null?????
      • username???varchar???????null????50
      • password???varchar???????null????50
      • ??primary key???id??
      • ???????unique_username???????????

      ????????

    2. ??InnoDB????????ACID???????
    3. username?????varchar??????????????
    4. id??????????????????????
    5. ??????0?????????
    6. ????????????????
    7. ???????????????????????????????????

    8. ??username??????????
    9. ?????password??????
    10. ??????????????????
    11. ???????????????????????????????????????????????????????????????????????????

    转载地址:http://xdok.baihongyu.com/

    你可能感兴趣的文章
    PayPal网站付款标准版(for PHP)
    查看>>
    Paystack Android SDK 集成与使用指南
    查看>>
    PC端编辑 但能在PC端模拟移动端预览的富文本编辑器
    查看>>
    Penetration Testing、Security Testing、Automation Testing
    查看>>
    php -- 魔术方法 之 判断属性是否存在或为空:__isset()
    查看>>
    php csv 导出
    查看>>
    php include和require
    查看>>
    php mysql优化方法_MySQL优化常用方法
    查看>>
    PHP OAuth 2.0 Server
    查看>>
    php odbc驱动,php常用ODBC函数集(详细)
    查看>>
    php openssl aes ecb,php openssl_encrypt AES-128-ECB iOS
    查看>>
    php paypal rest api,PayPal REST API指定网络配置文件PHP
    查看>>
    PHP pcntl_fork不能在web服务器中使用的变通方法
    查看>>
    php private ,public protected三者的区别
    查看>>
    php PSR规范
    查看>>
    php rand() 重复,array_rand()函数从另外一个数组中随机取得的一定数量的数组的元素是否会重复?...
    查看>>
    php redis(2)
    查看>>
    PHP Redis分布式锁
    查看>>
    PHP SOAP模块的使用方法:NON-WSDL模式
    查看>>
    PHP SPL标准库-迭代器
    查看>>