I hereby claim:
- I am stevelacy on github.
- I am stevelacy (https://keybase.io/stevelacy) on keybase.
- I have a public key ASCRiLTDs3sE_fZgD3q0CA_FvfdYLSiG8HoOSj1lMKa1Fgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
export const apiKeys = mysqlTable( | |
"api_keys", | |
{ | |
id: typeId("api_keys").primaryKey(), | |
organizationId: typeId("organizations", "organization_id").notNull(), | |
name: varchar("name", { length: 256 }), | |
prefix: varchar("prefix", { length: 256 }), | |
} | |
); |
TARGET_BRANCH='upstream/release' | |
BATCH_SIZE=10000 | |
range=HEAD | |
git fetch $REMOTE $TARGET_BRANCH | |
# check if the branch exists on the remote | |
if git show-ref --quiet --verify refs/remotes/$REMOTE/$TARGET_BRANCH; then | |
# if so, only push the commits that are not on the remote already |
-- Create the database | |
CREATE DATABASE your_database_name; | |
-- Create the user with a password | |
CREATE USER your_username WITH PASSWORD 'your_password'; | |
-- Grant all current and future permissions on the database to the user | |
GRANT ALL PRIVILEGES ON DATABASE your_database_name TO your_username; | |
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO your_username; | |
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO your_username; |
git clone https://github.com/salesforce/p4-fusion
cd p4-fusion
brew install openssl cmake
wget https://cdist2.perforce.com/perforce/r24.1/bin.macosx12arm64/p4api-openssl3.tgz
mkdir -p vendor/helix-core-api/mac/
tar -xvzf p4api-openssl3.tgz --strip-components=1 -C vendor/helix-core-api/mac/