Skip to content

Commit

Permalink
sqlx-data offline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Razer2015 committed Nov 22, 2022
1 parent 93ef3b9 commit cc7b815
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
# OS: ubuntu-latest
- TARGET: aarch64-unknown-linux-gnu # tested on aws t4g.nano
OS: ubuntu-latest
- TARGET: aarch64-unknown-linux-musl # tested on aws t4g.nano in alpine container
OS: ubuntu-latest
# - TARGET: aarch64-unknown-linux-musl # tested on aws t4g.nano in alpine container
# OS: ubuntu-latest
# - TARGET: armv7-unknown-linux-gnueabihf # raspberry pi 2-3-4, not tested
# OS: ubuntu-latest
# - TARGET: armv7-unknown-linux-musleabihf # raspberry pi 2-3-4, not tested
Expand Down Expand Up @@ -189,8 +189,8 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./battlefox
platforms: linux/amd64
# platforms: linux/amd64,linux/arm64
# platforms: linux/amd64
platforms: linux/amd64,linux/arm64
file: ./battlefox/Dockerfile.cross-platform
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/battlefox:${{ env.COMMIT_TAG }},${{ secrets.DOCKER_USERNAME }}/battlefox:latest
Expand All @@ -202,8 +202,8 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./battlefox_discord
platforms: linux/amd64
# platforms: linux/amd64,linux/arm64
# platforms: linux/amd64
platforms: linux/amd64,linux/arm64
file: ./battlefox_discord/Dockerfile.cross-platform
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/battlefox_discord:${{ env.COMMIT_TAG }},${{ secrets.DOCKER_USERNAME }}/battlefox_discord:latest
Expand Down
77 changes: 77 additions & 0 deletions battlefox_database/sqlx-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,82 @@
}
},
"query": "SELECT PlayerID, ClanTag, SoldierName, EAGUID, ban_notes, ban_status, ban_startTime, ban_endTime, record_message\n FROM tbl_playerdata AS pd\n INNER JOIN adkats_bans AS bans ON pd.PlayerId = bans.player_id\n INNER JOIN adkats_records_main AS records ON records.record_id = bans.latest_record_id\n WHERE pd.EAGUID = ?;"
},
"6a10a7bdf64d0bee4d778a5b7fe1c338926a97807f80feffb5d73fb23ba211b5": {
"describe": {
"columns": [
{
"name": "player_id",
"ordinal": 0,
"type_info": {
"char_set": 63,
"flags": {
"bits": 4139
},
"max_size": 10,
"type": "Long"
}
},
{
"name": "persona_id",
"ordinal": 1,
"type_info": {
"char_set": 63,
"flags": {
"bits": 4137
},
"max_size": 20,
"type": "LongLong"
}
},
{
"name": "user_id",
"ordinal": 2,
"type_info": {
"char_set": 63,
"flags": {
"bits": 4137
},
"max_size": 20,
"type": "LongLong"
}
},
{
"name": "gravatar",
"ordinal": 3,
"type_info": {
"char_set": 224,
"flags": {
"bits": 0
},
"max_size": 128,
"type": "VarString"
}
},
{
"name": "persona_banned",
"ordinal": 4,
"type_info": {
"char_set": 63,
"flags": {
"bits": 1
},
"max_size": 1,
"type": "Tiny"
}
}
],
"nullable": [
false,
false,
false,
true,
false
],
"parameters": {
"Right": 1
}
},
"query": "SELECT * from adkats_battlelog_players WHERE persona_id = ?"
}
}

0 comments on commit cc7b815

Please sign in to comment.