Skip to content

Commit

Permalink
fix profile lookup to not use ilike (#872)
Browse files Browse the repository at this point in the history
add missing shovel indexes
clean up snaplet config
  • Loading branch information
0xBigBoss authored Nov 17, 2024
1 parent 18cab7e commit 4e6e6e7
Show file tree
Hide file tree
Showing 14 changed files with 981 additions and 313 deletions.
2 changes: 0 additions & 2 deletions .snaplet/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .snaplet/config.json

This file was deleted.

212 changes: 0 additions & 212 deletions .snaplet/fingerprint.json

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"@biomejs/biome": "^1.6.3",
"dotenv-cli": "^7.3.0",
"lefthook": "^1.5.5",
"snaplet": "^0.42.1",
"zx": "^8.1.2"
}
}
6 changes: 4 additions & 2 deletions packages/snaplet/.snaplet/config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"adapter": "pg"
}
"adapter": "pg",
"targetDatabaseUrl": "postgresql://postgres:postgres@localhost:54322/postgres",
"sourceDatabaseUrl": "postgresql://postgres:postgres@localhost:54322/postgres"
}
81 changes: 45 additions & 36 deletions packages/snaplet/.snaplet/dataModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@
"isGenerated": false,
"sequence": false,
"hasDefaultValue": false,
"isId": true,
"isId": false,
"maxLength": null
},
{
Expand Down Expand Up @@ -1052,14 +1052,6 @@
],
"nullNotDistinct": false
},
{
"name": "distribution_shares_distribution_id_index_uindex",
"fields": [
"distribution_id",
"index"
],
"nullNotDistinct": false
},
{
"name": "distribution_shares_user_id_idx",
"fields": [
Expand Down Expand Up @@ -1662,13 +1654,6 @@
}
],
"uniqueConstraints": [
{
"name": "distributions_number_key",
"fields": [
"number"
],
"nullNotDistinct": false
},
{
"name": "distributions_pkey",
"fields": [
Expand Down Expand Up @@ -5269,6 +5254,50 @@
}
]
},
"seed_files": {
"id": "supabase_migrations.seed_files",
"schemaName": "supabase_migrations",
"tableName": "seed_files",
"fields": [
{
"id": "supabase_migrations.seed_files.path",
"name": "path",
"columnName": "path",
"type": "text",
"isRequired": true,
"kind": "scalar",
"isList": false,
"isGenerated": false,
"sequence": false,
"hasDefaultValue": false,
"isId": true,
"maxLength": null
},
{
"id": "supabase_migrations.seed_files.hash",
"name": "hash",
"columnName": "hash",
"type": "text",
"isRequired": true,
"kind": "scalar",
"isList": false,
"isGenerated": false,
"sequence": false,
"hasDefaultValue": false,
"isId": false,
"maxLength": null
}
],
"uniqueConstraints": [
{
"name": "seed_files_pkey",
"fields": [
"path"
],
"nullNotDistinct": false
}
]
},
"send_account_created": {
"id": "public.send_account_created",
"schemaName": "public",
Expand Down Expand Up @@ -5588,14 +5617,6 @@
"credential_id"
],
"nullNotDistinct": false
},
{
"name": "send_account_credentials_account_id_key_slot_key",
"fields": [
"account_id",
"key_slot"
],
"nullNotDistinct": false
}
]
},
Expand Down Expand Up @@ -7238,18 +7259,6 @@
"id"
],
"nullNotDistinct": false
},
{
"name": "u_send_token_transfers",
"fields": [
"abi_idx",
"block_num",
"ig_name",
"log_idx",
"src_name",
"tx_idx"
],
"nullNotDistinct": false
}
]
},
Expand Down
Loading

0 comments on commit 4e6e6e7

Please sign in to comment.