Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#7 Games: Database migration #9

Open
LukasZahradnik opened this issue Jul 19, 2020 · 0 comments
Open

#7 Games: Database migration #9

LukasZahradnik opened this issue Jul 19, 2020 · 0 comments
Assignees

Comments

@LukasZahradnik
Copy link
Contributor

LukasZahradnik commented Jul 19, 2020

Add migration for games

  • Create upgrade.sql (create table, indices)
  • Create downgrade.sql(drop table, indices)

Table fields:

identifier (uuid)
white_player_ranking int
white_player_name string
black_player_ranking int
black_palyer_name int
result enum (http://www.saremba.de/chessgml/standards/pgn/pgn-complete.htm - result tag)
pgn string
played_at timestamp
created_at timestamp

Story: #7

@nymann nymann changed the title #7: Database migration #7 Games: Database migration Jul 19, 2020
@LukasZahradnik LukasZahradnik self-assigned this Jul 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant