Giter Site home page Giter Site logo

server's Introduction

Перед запуском тестов нужно выполнить в mysql:

CREATE USER 'checkers'@'localhost' IDENTIFIED BY 'QSQ9D9BUBW93DK8A7H9FPXOB5OLOP84BA4CJRWK96VN0GPVC6P';

GRANT ALL PRIVILEGES ON . TO 'checkers'@'localhost' WITH GRANT OPTION;

DROP SCHEMA IF EXISTS checkers ; CREATE SCHEMA IF NOT EXISTS checkers DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci ; USE checkers ;

DROP TABLE IF EXISTS checkers.Users ;

CREATE TABLE IF NOT EXISTS checkers.Users ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT , nickname VARCHAR(20) NOT NULL , password CHAR(64) NOT NULL, last_visit TIMESTAMP NOT NULL, registration_date TIMESTAMP NOT NULL, rating SMALLINT NOT NULL DEFAULT 500, win_quantity INT UNSIGNED NOT NULL DEFAULT 0, lose_quantity INT UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (id) , INDEX full_idx (nickname ASC, password ASC, id ASC, rating ASC, win_quantity ASC, lose_quantity ASC), UNIQUE INDEX nickname_UNIQUE (nickname ASC) ) ENGINE = InnoDB;

USE checkers ;

server's People

Contributors

hrumhrum avatar maerville avatar

Watchers

Konstantin avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.