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

Migration for GIF support #24

Open
bdickason opened this issue Apr 18, 2018 · 1 comment
Open

Migration for GIF support #24

bdickason opened this issue Apr 18, 2018 · 1 comment

Comments

@bdickason
Copy link
Member

bdickason commented Apr 18, 2018

  1. Clone/pull down latest version of chicken-server repo
  2. Initialize submodule: git submodule update --recursive --remote
  3. Update framedata from source: npm update
  4. open mysql server
  5. add field 'gif' to table attacks
  6. run update script: npm run update
  7. start server

Success criteria:
On the api/framedata endpoint, there should be a new field called preview_url on every attack

@bdickason
Copy link
Member Author

bdickason commented Apr 18, 2018

Mysql commands:

  1. use tekkenchicken;
  2. ALTER TABLE Attacks_TC ADD COLUMN gif_url VARCHAR(100) DEFAULT NULL;

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