{"_id":"@aphro/migration-runtime-ts","_rev":"12-6b9bf418ca438c0e4d4fcf1ea4a24195","name":"@aphro/migration-runtime-ts","dist-tags":{"latest":"0.1.7","next":"0.1.6"},"versions":{"0.0.8":{"name":"@aphro/migration-runtime-ts","version":"0.0.8","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.0.11"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.0.8","_integrity":"sha512-SMsqWk9BTZK12uqbkESl55DBsUEOarrvL8w7DKS9CJDrFBpGJu/a+9vH5mgjSAR/iGFqYOrfX1I7axAI1S1S+A==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/12ee68473344b493e92918d831b245c0/aphro-migration-runtime-ts-0.0.8.tgz","_from":"file:aphro-migration-runtime-ts-0.0.8.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-SMsqWk9BTZK12uqbkESl55DBsUEOarrvL8w7DKS9CJDrFBpGJu/a+9vH5mgjSAR/iGFqYOrfX1I7axAI1S1S+A==","shasum":"3021a4de1c170c4ee855f8fd9fa96d057ef0abaa","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.0.8.tgz","fileCount":15,"unpackedSize":9162,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgB5g8sS0cJGT5iRR/WFfBZgvs6jbIFxTWKOiFle97oAiEA4McIdQHT205PesFmTy5oGf8VldM78ppwQIGTxIafUDQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJis2RAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpEPA/8C4SezERC6fKHZXXhawBc186ZAkOIKL24jZEY1zi7z9gLbxCW\r\nb3JbM5teJjvsNzoof94bTZCpJZFWhe0GioAWJt3kCNsiFRMFDzPwDoraV8xj\r\nRDkgvHRBrSneSgjPT0HinuegyZybzJqs7Rh/DtF6rNDDJ23B8mO4FpwMMS9u\r\nxmHqneA/+UYvsNnUcTCAE2C6hZmTAW172g/n4+risBeNbxxoY1v6rjJA1yge\r\neUko3XzwrPzZF/yIDcjiYxROpdcBZaz8r/ySMcV1WpG4ozFuxrVxco3x4fQf\r\nmIjQ+OagDxpfloZ61YYb1fu+Yr0QLxrArBFAHpUEyCaxZmtfr1BGhLLyxvPS\r\nPqr6XuFxAa1WjPZl7rUcKn79zqraNLTmFWiscZp0NDfqyV8cNzlvwcwwNMNP\r\nqGf9KiXx7I5fmSrgpULvfKEE9Hd8iz4tVK5SmDgETQiIU54bzp3Mp7Lc1TP6\r\nB3jH9GHmKjOB/EnCu/E9mHzyyoZYDZUb4TSRN3/NBdmBrh8RJ0X8AFkgSdQk\r\nL5Lxg6eWkOYPZbO3pTV4VYqkN0iQzt0A9j8XxQPoOLf6zTa4/J1P3GYQ6CR2\r\ny1CaTYE0yduwomERce2yqTxgLltCSSPuDEuw1+tY+AN8532iquEUUIYDBZ8d\r\nE6bJ7/gUg61+yaFtB2LN2lJnQs3DmjElfHU=\r\n=lMbx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.0.8_1655923776541_0.5993281377622071"},"_hasShrinkwrap":false},"0.0.9":{"name":"@aphro/migration-runtime-ts","version":"0.0.9","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.0.11"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.0.9","_integrity":"sha512-oclbxIsB+xblJCqAO+Oph5528dqecHLvgR9rSz0Xffx+HKJKzgb3cti09j2gCDmIuubialUcdbzI+a7YXq7k/w==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/566bd71f6a542128333fd3aec9bbbe91/aphro-migration-runtime-ts-0.0.9.tgz","_from":"file:aphro-migration-runtime-ts-0.0.9.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-oclbxIsB+xblJCqAO+Oph5528dqecHLvgR9rSz0Xffx+HKJKzgb3cti09j2gCDmIuubialUcdbzI+a7YXq7k/w==","shasum":"7fba4600f45622a66afa8c0d339eb1a0636d71be","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.0.9.tgz","fileCount":16,"unpackedSize":9246,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAITH8EpRMJeA7cB1E90DZcx8XQOdh42mYcs9s2CRtMMAiAwd6y8+StQ+TRH+QFvsnv86ogFlqOvRYQpxXbAqTrCjA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJitMAdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr50hAAkkdhpIUnsUcgxbxBzfak+eo+kHKG9wqqt/EMDfyUeyAYdZBS\r\nL6vonSiM+vE67bt6JzDRIGhI72t3gxypeO7rUcwT/b1WyXjA+4VhNBlfZ1O/\r\n6ux+b7gmvFzqjM9eg+dpWASYypKAFxpnmEd7C6uae0RVFwmNcKPXqWDioIV4\r\njC7Xx4JUEUaAmBWurJUqaBRRKTxTIqAWo69Wu7D6CXgFQqPRz0yh5pkmD/Fu\r\nvv+e8ouSEmp0QT8wlqgSc//H3TQwoCIEd0d7TPXVn9kehawberdNG0xfE7+b\r\npAyTS+tesDqdA3C7WmsvZWV0zV7KnT9qkz7/czeY8zI0+PwioOXsOVyDlhb1\r\n1b2JKqh5gWHgRXG7N+bCmNZyyou1OQSG8kzyYhXb5JEOPkUstoV6pLTQG6cX\r\nI/o+eSg/UVjRPKllMp7UX8lwDw1I9RPP4e1s1P8E6Nvi93sHhJ61r8hhVy2H\r\nETUehKfBSGSepP1UStnKxF7Ym1pAH7OUzPJGT/kOXRMBJggAvdNeLHhvZler\r\nstg7j/AoaYbv8QCPTV8CEplKaiJEtHvIIqAKLwAwCaVAcc5xhYkNgjIwosf5\r\nDXaBzs/Tj/FvfJP+vXuKdu7PAaop271kZ6xjSsyq3lN7aA4OTnbux/3cVHuC\r\noU0In5epWwBckE+0k5kh7+sQDJlEkuDOKhI=\r\n=14Zs\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.0.9_1656012829294_0.7506288703271173"},"_hasShrinkwrap":false},"0.0.10":{"name":"@aphro/migration-runtime-ts","version":"0.0.10","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.0.11"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.0.10","_integrity":"sha512-fM1ov33PwuuOFcezDIx0xGIZdsZQdQ9YJvGfaY7qEsjY2e5ERuSEzZQsYWif4R6t2S9w0O3+VVcECKgG9c6ELg==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/018614ce322c039f5d7392d0b6a1e812/aphro-migration-runtime-ts-0.0.10.tgz","_from":"file:aphro-migration-runtime-ts-0.0.10.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-fM1ov33PwuuOFcezDIx0xGIZdsZQdQ9YJvGfaY7qEsjY2e5ERuSEzZQsYWif4R6t2S9w0O3+VVcECKgG9c6ELg==","shasum":"22957d53faea32a37058f85de38cd34d3ea2afd2","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.0.10.tgz","fileCount":16,"unpackedSize":9304,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgKsbYMXH3paU73j1YK+ueLmInOp0hwvOB8bdqYyRpDAiEAx0sKqIG0ZncFIaUDQIHNeESfEKce+K7Glk4vXtBemIY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJixGpVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7qw//ZIW3fE993kzbrf5GOTKx3E+HuZnkHBK9NXhXX+2Fwzq19THf\r\nf2QWQVBkr8HCHAQdZwd13ceG+wHB6tzMa0apiez2Bb9NrXxPAVbbxs4Mhbwo\r\n7p5+YOqJjjMDeJPkOL6RV5QEH10A/yjR9L60WWrSwyXknJcggj3gFyYVdm/G\r\n0t86eh/SJDndel/J6bBxizPbxh7E12wTxQbTy6ScHX8mdYuKkgmmJxC7MSeH\r\nMAnmMNz9oh3d1ilVtm02r6PtNJqDYuf9kfKmV7tl9JeICzpzz9a3WhvLQeWe\r\nb1Xp5hQg6wCfPJxC3V8GPQxX8SbLmbChQPS6A/PNv2cM1lCnORmPb1O76NNl\r\nMp2J1UBQYQbTxgMF2XS1Yp1mqPUSFCr0REPF172jIFQp2krx9mWE4meYhy51\r\n/Ipr2w/KfYRAhhBtd6I40rdJzUPsSRmUyQ1IHT0X2bZVXieVdC+HWeR5asJv\r\n5NpDtNgMM91HARRXEoGm4L0JiQwexFl3Xbo1prML3gK96dRZbTi9CGWEvI/T\r\nP6LJcgEE9AJIaetMTjJXtxR4YYWC+q1BP2torxUYNCM6jOhnM9Mel5s4GlSq\r\nJXRL6ENDOU7YRA66g9kz/tAfCcW9OWJmUlQ0dAt5hIptlbUdSirzNs5HyAU+\r\nM2rtL+dX7ZGkerVRJLKlr5f8567rBv6/WQU=\r\n=cemh\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.0.10_1657039445243_0.3089830529683282"},"_hasShrinkwrap":false},"0.0.11":{"name":"@aphro/migration-runtime-ts","version":"0.0.11","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.0.11"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.0.11","_integrity":"sha512-VPSocepqvrX8lAE6nCYv05leZxcym5wnkIxYT2dbp/XVHRoeFprMEcXYy7Mp6rLrzHPK87nsHD+5TIbtPUzVVg==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/37802abea020d371851ebab1397592de/aphro-migration-runtime-ts-0.0.11.tgz","_from":"file:aphro-migration-runtime-ts-0.0.11.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-VPSocepqvrX8lAE6nCYv05leZxcym5wnkIxYT2dbp/XVHRoeFprMEcXYy7Mp6rLrzHPK87nsHD+5TIbtPUzVVg==","shasum":"fa9f4c5d8d5f55f985624d042b41344daeee3c21","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.0.11.tgz","fileCount":16,"unpackedSize":9469,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA9gTOEG7rAaBi/2crgsO+/9gBbKsCBqITc2m0Hi44fxAiAX0fWhsaZyWOoLED677fp4+1URtFsRJDEx8GEvALdUhQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizHCsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWSQ/+Jge2IDpy8blfjnMlNmNq1myQ2jgxkvfsfcHvwmBTAnZGEx+B\r\ntORhH6rPPs0H9kGxbsOHaULoLwUA8BuxUNjgb1Fl9+IXCkaX283FnduGPOii\r\nj2Dvnawsg5NSQUGezCoNSEKGIBphzMy1TygbHZJXiJL49hIljAJ+PmnySF8O\r\nYftv7Bxrpv3JratKaDL1brHarx+6sWhBXZ1gvLLxfNj2WJPa9nB4EPUce8zE\r\n4mb8+EPxxPac9VnV7vmHRC63SZv/ZT5mSoYCt6hRBtzYq+vypvBzbfeHL3m1\r\nrdMYSu4qjGLqV0qC/ux68HS892WGB3FSAvwgpGBvaz53MvYGPdRGJ6A9K7Yj\r\ndp31YuWYiOL3G4eTUwcRc6ZTMkK51cEmsXscGh03mleDzlAvwM5rREcFFTCV\r\nzcdxZ2jfFpXSVHGFE5J+iexvI6dvKtIB4Ok5Xf5rKf4k6pZhgFg6x9v5weU0\r\n25+aBtiMyIfr1da50LkKhldtiY1hMMLqy70aU9agnYl5DqLu6H9LbYY8PsDQ\r\n9cwOkcFdNZjUv+/moW0RJ/iMmNs9xqnvF6x8L38JUwukvaOALe6YUgcaZzrL\r\nWtGjYnfEYwTGTgv47BiZt7+yxYCipypFQNSodUTAfQS/NUDS7HKHre1FxrKX\r\nfHh15OIAeC0clOunj/bwEzrIxim0q8uCI1s=\r\n=WrlR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.0.11_1657565355960_0.9283355205718513"},"_hasShrinkwrap":false},"0.0.12":{"name":"@aphro/migration-runtime-ts","version":"0.0.12","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.0.12","_integrity":"sha512-7DdPNpbTm6/MxWubL3pIL3LyHtJXxclUYJuAfp6pkvmyfrqeQW5MgmFnoeemk/UMrm2KVbj3TIK0qzA8yg4b3w==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/128117c829de9a11ea2bb20185ac914f/aphro-migration-runtime-ts-0.0.12.tgz","_from":"file:aphro-migration-runtime-ts-0.0.12.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-7DdPNpbTm6/MxWubL3pIL3LyHtJXxclUYJuAfp6pkvmyfrqeQW5MgmFnoeemk/UMrm2KVbj3TIK0qzA8yg4b3w==","shasum":"607fc0f448064adc976376a4ca474dd8f6599d89","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.0.12.tgz","fileCount":16,"unpackedSize":9568,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCpp2ALh9lYi9qm0ueSnvQhN6fPVkTUqJtwduYQVT0GAiAQeW0eAllbuqK68UXmJETMe8P/PvoFnSB9fkOvMCEZhQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJizZxxACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpx0A/+P3LYm7iLcRW/9R2PKk2j86RUn+wFhYgFQVSh4BPAZZ36YhGy\r\nbgL/qMIEs1W9NljbgDjvYzM7Pde5LzyQ2mEodK3LJxtkXbnVftGuo5KDDSq1\r\nDOaMhs747TDeEGBCrTJUrf1db7uan3+tCzrtni0EymnNW1RZuCWmfobcFPrM\r\nEj0M3RagWQxryANI6THSrqsKFPATPjMnhwjB2t3/3yaaxFQnh0heEF0dIrjR\r\nm1BTlqxw/tFjPINPfjhshIhA8DeOFoTdQqQwtiK7017vaMqk7RXUPZBMP8ak\r\niR1S4IE7O1v7BvFgP5JqBaMwj6n9QmNjrzT1GpG78jh5X8QQ2YrrhPUKhfSk\r\nydg9pp7S40WgEkpwjRVfbf5LSoic8TcpQRHrZdDk04q8T7hrp9LGWu/Z4yK7\r\nu0KViCGOfDt+fQFjWa7QxWR3iKiFubiD7sCVcfKmw5dwJNKylH2uy2XH4R35\r\nnCsHQKdcKHrjESRFAGQ9+wZ2GNGso0SaM6t3lJuyvIqJZiqD0tWHHulf6JpU\r\nGBh+4NVo+Yzr621zFFJ1yYZaQf6TP+J+t90bGaaU0z1Qw/smmU9qJo5iuJJ+\r\n9khQUFUf3uzqqScsSzdSS3Jf10W7rQ6Pfh0Ge5cgTNIYWVCgdFgil+X9apOK\r\nk6OrY9bQhzyk2YebJcTWcQ32Ad3LlmHdsDc=\r\n=Dodm\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.0.12_1657642097595_0.2806025642225769"},"_hasShrinkwrap":false},"0.1.0":{"name":"@aphro/migration-runtime-ts","version":"0.1.0","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.0","_integrity":"sha512-OSemqSjPAzq2v8Llndkat9Ebqwb7CBsClp40jRjrHXL5XzNTAQ77kppfjLWRytYVm4vA0qbXIz6ybRgc4OGeNg==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/8b3ce637f400b8cb848639c74e9ad59c/aphro-migration-runtime-ts-0.1.0.tgz","_from":"file:aphro-migration-runtime-ts-0.1.0.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-OSemqSjPAzq2v8Llndkat9Ebqwb7CBsClp40jRjrHXL5XzNTAQ77kppfjLWRytYVm4vA0qbXIz6ybRgc4OGeNg==","shasum":"b14f198fc2b2eb5e5134dd5be78f911d88644ad4","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.0.tgz","fileCount":16,"unpackedSize":9663,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+cSThKc9h7vZl/Aau9WcyYFbfQJiEBRsw9RSeHH/tOAiEAha9VYLz1nF/TaLQkzkrwOMJkTYRJIB/Hh6keXrTVPXw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi2GaGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrEuQ//aiP8ME7QSiFU/jaat9iEQr9r7jRK4V3qQ+vZJkiGrucywM4V\r\nm5Zj4BOwklVU08MtL9l+8Xmh1YgSQoNjWhHVgWIwNjKgijUvWlRt/7mEkvn2\r\nRt0a8AZ7T/QhsIVQAqCBv2HXnWY9H1GXJmUCXL9bsAltvWCZYSjZjxNatzy8\r\nVyhUwQEkMigYN5eC62wcTy70xZtGYpbGnNAYiWx2VJkS3QtxoowvNFeW3nyc\r\nTMdxVohr4yQ3gIE2Zjofg8XOXjCk4pY4Tj0oCLic9t43vvQC7GHnMshBjMrc\r\nvD9IN1k60i9G41o4WiPPhZG5GDHI6grUyw9cBZJMAKFkQwfr3NLKA4c5bYlr\r\nmbqM1MUysw3BQqhTRqzlacNXvt5KJEtg+ZwAFCcGbT/ebA0DoBOv5QySiuZ+\r\nr6ZhAYvrDrfUXXj6gvIUDBMGBE8FELPChP0Z39xDzyMmb5neqAgRkoShRUjS\r\nJ+W0Ibm4/a2ADkE0dRDJLe8VSBvVOGBtpBfqYK5ESM8yM8ymHDuCTvk+qLOH\r\nVJ1yzy9V/8av4UtRYfrinperyTjeeZ+zHFF4ObK48wMifcGxjW35HfUaU37S\r\nVkpu2j/r34n6IX8Nb6xdx1pd5Ek0puDbdaCILRFS5f58N2xUwRpYyl/f31+5\r\n+M0shjWh2IcxuyG+yhkKXkzNlPacYKNsuRo=\r\n=oXSn\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.0_1658349190771_0.040189926964836475"},"_hasShrinkwrap":false},"0.1.1":{"name":"@aphro/migration-runtime-ts","version":"0.1.1","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.1","@aphro/sql-ts":"0.2.1","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@databases/sqlite":"^3.0.0","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.1","_integrity":"sha512-k9IvWMIYan6Xjrgtf1D9gGw08ffUIQdZRhWEyYeBAROyPTi7b0QhI4BGW3N9QBtHapkXbLPyvKgTAFcJOHuaQA==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/af82f318a915c668592f29ee454aa57a/aphro-migration-runtime-ts-0.1.1.tgz","_from":"file:aphro-migration-runtime-ts-0.1.1.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-k9IvWMIYan6Xjrgtf1D9gGw08ffUIQdZRhWEyYeBAROyPTi7b0QhI4BGW3N9QBtHapkXbLPyvKgTAFcJOHuaQA==","shasum":"dbaeb3fb7ceaa8787b9538fc56de3af47276f7bf","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.1.tgz","fileCount":26,"unpackedSize":65650,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAiMLYZXRI8UIB+YdIEZvf36r99VAVEsk+IBikftpgQsAiAcTRkecDkZ4YxXs6ZKOTeWfDZ3aRE7gCfK9bfPM6IsiQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7HFWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmprsxAAoY110VwRfvAFJoC7yOouk/NO4K4rSIQQswcEOZ+VRK6wWNun\r\n0pSRmktnB09DTsDq2wJ0/bYvr/SD9f4SVbgVSA5Ijs71POopVVWopHJeOuf6\r\ndz30TuZU13aQ75FRtbzsYDbwk/XSoMfbCeBt/ILcVt3STPmsQxeTRUL79RT0\r\nhTomj+H+QF1yexiP6xR9pP1PF5J6OuLPY1V10uKI64yoeBmMZYCuLiIz1SoI\r\n7TyitSnFG/i60VLv2b+zE3wCEmxPE6jV/R7A5HwGMOstUlNCWX6ZkY6ciU0v\r\nOgZAxnpJVtTsOV71cTSXNr8010O0Z7GIobhmLe9gyphrhnAMgPLvHvaXp/VM\r\nDtxN10nCSfNHRVqvEM756iHM66L1wNu1Jcjyu64F9ryylArS7wdud3+nOFNC\r\n3kwUecZ7LP3NmCdToJVuiwDNwlhg9VqIRD/3t89B04T0bxX6nMnKEoIMDVpn\r\nXUu6yEk0iK+XR8bIoY8coeCBC4GGxMFO3yASQdTrou2HEUoutXPv7nBnMbnC\r\nA/0puec94smLO+tjXjX2DKLg+gKlssYHOiOPBT2PQ2fHL9dtY00bB0+IUcFc\r\n+DduVxfeeupzhocilBKt1VfhCfDtU4EwP1I4AK1L0V+juvx7g1N9VkGySxbv\r\nXQG6osNONUk/ALfcQpvmAiTnbPOmzZunw9Q=\r\n=fBN5\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.1_1659662678008_0.7246520436452673"},"_hasShrinkwrap":false},"0.1.2":{"name":"@aphro/migration-runtime-ts","version":"0.1.2","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.1","@aphro/sql-ts":"0.2.1","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@databases/sqlite":"^3.0.0","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.2","_integrity":"sha512-jyFS61B9FqQcS7cZ6+zLjXI9Ys7sOtDbwiFjceuzckGkIMEh9ZYNV6eNTBQYgprgaLBAjcmeuQr1knmmQtureA==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/4a957557e93c0db34999a94f514d6db8/aphro-migration-runtime-ts-0.1.2.tgz","_from":"file:aphro-migration-runtime-ts-0.1.2.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-jyFS61B9FqQcS7cZ6+zLjXI9Ys7sOtDbwiFjceuzckGkIMEh9ZYNV6eNTBQYgprgaLBAjcmeuQr1knmmQtureA==","shasum":"dfdfe2b24c58ffc5a89596d11e185b452dc8792a","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.2.tgz","fileCount":26,"unpackedSize":65724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7KlZ+oDKAdPR3vjOzEGafGgT+F5m3LLLQDoxCV5QBfwIgFNZQfyoXvxtQQmSUo/+xIYO0xjS7PdlCUuvRqAI9ikM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi7S6DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoE1hAAo0x4nfCf451PPXMuLPvsrK/e1i79ddmjztF60D3HuuCiWH65\r\nKJFiQWnxN4Bkjqmz4uqQRSVwxdUyou/58YFCFNAB4F8gO8Bw0uueCGYXpsIO\r\n5X8EskBbim0b1F2Bc76Fa1aMQRTKXymuG1xxl9DKClmZ2eXCSV1je+cPWiDV\r\nGFJPtKABTht3EhuisQJxVLCYiSIO2Tj+0Xq5ftCq2diyBsU/cJcudD157H2V\r\nzNk2DnLMQNvMRZkjM9TZ+50aYHZcJ7x/b0CkVm2l1RN/LcKdUFHBccWYTZVA\r\n6bQYrr0b+vWXGUnAgVTTxHLgzG5E+D7Q1pdoKfTfJgndR/6HoffKQCxk7ADD\r\ndlN6Ac1Ny+OLK4QHUMk0wppenhLunXgxpvsy1YnDFP7aM63FOOV5MV3P/E6n\r\n8FYTGq/sgvVxePKi3E8R5P1i4pl+z2OdQJ8gHCP0Y7wt59xa+v+jXibt+2/1\r\nKUzXbyQyCyuLf8SfVkxMUQnEsCqqAFpKuX1FvzgJKmkK/DVWf6jkPAmRek0T\r\nLH9y11fMlrdJ6gd8h4tfKLgYv+7n7QEyZKS9/wKsBGqLf7yPFZl4HpwU+Fpn\r\nkk58x+F+1AlHSYCgRXrpK93+g0uGvD7oHt1jwU2Z23WEzv7EhosuWFfWrAOH\r\ngZ8GE6W294Q6aiUzJlj7p0GniCFPar62Cfk=\r\n=8Btj\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.2_1659711107382_0.5063371916777424"},"_hasShrinkwrap":false},"0.1.3":{"name":"@aphro/migration-runtime-ts","version":"0.1.3","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.2","@aphro/sql-ts":"0.2.2","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@databases/sqlite":"^3.0.0","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.3","_integrity":"sha512-GjeLRqqkZU8K524nTtOV3CAF5ASElOxKbqk37scHsZ9Bg6x0VPbemVLP2WOSCTVgF+rLgHQz2/M4Yk347TPgRQ==","_resolved":"/Users/tantaman/workspace/aphrodite/packages/migration-runtime-ts/aphro-migration-runtime-ts-0.1.3.tgz","_from":"file:aphro-migration-runtime-ts-0.1.3.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-GjeLRqqkZU8K524nTtOV3CAF5ASElOxKbqk37scHsZ9Bg6x0VPbemVLP2WOSCTVgF+rLgHQz2/M4Yk347TPgRQ==","shasum":"5626250b2e1d5d654cbc1e0c802b6e408038ed94","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.3.tgz","fileCount":26,"unpackedSize":68567,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1f9lm8IOgQTYzaBXwxTEs3IDrUEEZ+wd5MykWgX5NWAiAD/rpkSy2X219kxwbfKhd0GfnzGXYxcS+g1qR6rDjNwQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi85IDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmohkg/9FqJKvJC9QMNxDyJGD9wA1QXZrwFyq8McRoGQ+k8mjuB70Pz9\r\nsXq9KbaPlkhYzGm0Rztu7P+IWzrOBVfGTmVita4dWFEsaMoY7x77f9+0Ng0M\r\nLC36kIq+6zyndKks/P90tVHb8YajxzggtZWd5l6d04C5EdggQ7Z+rJq3TvkV\r\ndUU6/pEosU3Pl1jyjpfnqVJh1LFQh7CQgeXP9AYBVFJGb95OGWT2JT3WYTco\r\nXc3Tf3E12ASRfP1m6Ty0/qfJGz6eA7FCCQH9zaW9CnxkF2dYKgk7d80XcJPu\r\nVh16EoIso5qnKg3REaTeqZPgzASq0AGGuD66VoglZCE3u141QgGgdrcMvYra\r\nbcrGk2Wmm+vtFPFerl3tsbLkJD1bGlV5nYssrIMspeT8nl3fi2rkRTPuytc3\r\nn+YHsu5nHA0QqbJeNBh/u5pbDEWar/9GELG8WIjzenSE4zxDeG5aBF2vOF9H\r\nluZlEk/1dMz6+qbyn0Ef3mCyoDYmZhoKEVgwHl1TrVcL+rYW/fWNbVp6LkXC\r\n/A9RGcEQ9QK+zBWVCuGaoHdsnFBjjsWY0d+AuKCFYKw2ztzO6k7XBlwBEU9h\r\nU/Mu93rXqCU6GutLEJ2SwL74Fj87Q3T9aBrzijTVY9/vGFgZLC0iaXHJC3mQ\r\nnari3WzVWacpfw4jWGaFHmagH+4L9VloN6o=\r\n=ZY2y\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.3_1660129794978_0.1668458651189395"},"_hasShrinkwrap":false},"0.1.4":{"name":"@aphro/migration-runtime-ts","version":"0.1.4","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.3","@aphro/sql-ts":"0.2.3","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@databases/sqlite":"^3.0.0","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.4","_integrity":"sha512-40a+Az8mBtMUwIdcXSORcSEuPwEwD73wuaYt+dTqmr0bnRlhMupyTsE1/ElKMYbWDDTOqZ96XlYQjp8f3Le0Ag==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/8381971a57f5c24edf3a756c07c6168a/aphro-migration-runtime-ts-0.1.4.tgz","_from":"file:aphro-migration-runtime-ts-0.1.4.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-40a+Az8mBtMUwIdcXSORcSEuPwEwD73wuaYt+dTqmr0bnRlhMupyTsE1/ElKMYbWDDTOqZ96XlYQjp8f3Le0Ag==","shasum":"bbcb2b7a14508160ee251e926dbbca1376d46259","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.4.tgz","fileCount":26,"unpackedSize":66363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENTN8O9HMdCZB0GsqmAhzyMuNZ2vv/lx7fdoTyEX82IAiAl6oCakUT1/y2fISMTTWDWIOH14Lit5U1x/Slr9JVp7A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi869NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8xQ/+NHC5DUHSlc2oKiccc3lb+aqJx4sCX8YVPts1sqnGtqPyTKHG\r\nCTvMvOsaFhJnGd+6zkT5HEngSfjJ/wVvddK2RoyJ5dJ8iorgDZvETNO3jJ9T\r\n9RRo+wu1shzl7NLUM8sflCsYbBZhFVF+9zH+fxNRd/fZsVv8WznSJU5Q+VIz\r\n7xuH+nerMvONKaReZ1DZ3cX8242TZhbBnwYmrJ+EB524jGIqjTo0ucAJDvcy\r\ntJISkLEuS+s+dZwota1K9y2D9dyPifdFLDwK8spRFCvVIqgGu/bd0qNsFJc+\r\ntd/10oEVugPB+slu3/HnvzbWs9PE9B57AmwOlIiCOo5qyZ9i0QiPh4yCS4YU\r\n+cCFcmEttlzwPs2ZEVCCaxkXZGsHSeGeNleJfl5XrtuDwd0J8bXm4UUcyiEf\r\nXS4wZpXbTYe9OFIfnVBg8unbgoeYALs0qMzhDiW/84n9Heuyf6AiOQLnd0JV\r\nZ0E4vhNaz60CPGGS3eUjMlZJWPOKDpDAOos1Tn0u9LioMYNWxWay1O1Pf7ix\r\nUCj/ifRDirpyw7xbSrJQAixXxRIJo99wTAORTKIygp4sE+WrRs8O3ZyxDJ7G\r\nmOA81Ti6ORMgm/auqH1eAH97VyHLbB7klrTKxQjTePdL7/Hjxn85Tbzwha/4\r\nEHzJ5WVrLF1zKq27Pm6LNhDyXyLouHj72hM=\r\n=YJmB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.4_1660137292968_0.44175626527157186"},"_hasShrinkwrap":false},"0.1.5":{"name":"@aphro/migration-runtime-ts","version":"0.1.5","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.4","@aphro/sql-ts":"0.2.4","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@databases/sqlite":"^3.0.0","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.5","_integrity":"sha512-g7IjSl85LCCj/l1P6PhJ2uK0M3H6sPQJNX8MXHAfzfDJbGArWxy1WpN9ieAzyM4RugcmcBT/iKesZ35PSFYQXA==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/b476b1ac7e813d0884a8415b0836f1fb/aphro-migration-runtime-ts-0.1.5.tgz","_from":"file:aphro-migration-runtime-ts-0.1.5.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-g7IjSl85LCCj/l1P6PhJ2uK0M3H6sPQJNX8MXHAfzfDJbGArWxy1WpN9ieAzyM4RugcmcBT/iKesZ35PSFYQXA==","shasum":"36d6bec1c702ec1d483146d9a8f25706a2da999e","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.5.tgz","fileCount":26,"unpackedSize":66678,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBeSmJKg8vJaUoNJVzqMGtLyNlXkmy9wXYhjN5XnUvnkAiEA1q0h2TjGdM8MlagxdPmYthhS5y8IBc/5Tvo1Op5h8bE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi9WlkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJIg/+NkesO+j/AlZk6FWJJr56Tst+6na2MCMVXNq91eLMA05feBWS\r\nhU7qC4m28E8yDIOqiIwY3X4WgAA/O3UVuxeA1ubOiQED0lRbqtd49BjfcKJs\r\n80P8m03CQvCoSvBs8M7RoCpCnAXCeZbwCZE4Fbs3iuCGzVEDUlOemMAQ+C+x\r\n6xyKBPVkx9E/3QaxjKM5Bz+XVqJ+aRK8Pe0IbUVuY4xHk+S+zkWVM8ibHo3m\r\nVxCa7okMNpVHzvirN1ZozIUabb7eMS5EidUqTzoXgdse6MtP4KVyge8aYRtr\r\nXlP2tC7nnXU7eOb1eBcz8oY2JoxdiAR5VUL92V/mDu8BOIeApV8qZKRP0oMQ\r\n1cMMDL88QWrBbCb7YBTZ1DRFWmlRLwiiB660L6UXzl8YVUqz5X/3r4b7g87k\r\n9KtVfTdiX9yQQ6ZjFopKUCxCDRnJMB9G91AtN60GkYOnp7nkx4CYVESdYy3O\r\nbBw84YxbI55ryBnZWEgwad1QdWYdpKW/xEDWQ+bhVCYCJ7uQw+R8wv/xhEws\r\njFsOYJxgKpLNvx5TZNJAs5P9xscajnbHX5DIw/rdPRV0ySQGUhEUUhq092/L\r\nlzYo6xnerZabdjdlCveJJ0qnc7AsmciebnTetkcIw4DhtBkLYFeQRfag0YSx\r\nN21BXdrGRgZnKKu69q/byHqbWJ2rAu3mgoI=\r\n=x/m7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.5_1660250468439_0.20896977418679663"},"_hasShrinkwrap":false},"0.1.6":{"name":"@aphro/migration-runtime-ts","version":"0.1.6","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.5","@aphro/sql-ts":"0.2.5","@databases/sqlite":"^3.0.0","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.17.10","@babel/preset-env":"^7.17.10","@types/jest":"^27.4.1","@types/prettier":"^2.6.0","@typescript-eslint/typescript-estree":"^5.22.0","jest":"^28.1.0","md5":"^2.3.0","prettier":"^2.5.1","sql-formatter":"^4.0.2","ts-jest":"^28.0.1","typescript":"^4.6.4"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","readme":"# Migration Runtime\n\nYour DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?\n\nThe migration library provides a set of tools to enable you to manage and migrate database versions.\n\n## Tools\n- Interact with db metadata (e.g., version, pull schemas)\n- Compare table schemas in app vs table schemas in db\n- Drop tables\n- Recreate tables\n- Calculate alter statements\n- Apply migrations\n\nSome prior art from the days when websql was a thing:\n- https://github.com/nanodeath/JS-Migrator/blob/master/migrator.js\n- https://blog.maxaller.name/2010/03/html5-web-sql-database-intro-to-versioning-and-migrations/\n- https://gist.github.com/YannickGagnon/5320593\n\n# Ideas\n\n## Yolo Mode\n\n1. Drop mode\n2. Auto-alter mode\n\nDrop mode just drops and re-creates the tables any time a delta is detected.\n\nAuto-alter diffs the (1) running schema with the (2) persisted schema. Deltas are converted to alter table statements and run.\n\n## Versioned mode\n\nVersioned mode works by having a version in the schema file.\n\nAny time the version jumps the next codegen run will generate a migration script placeholder. This'll have generate alter statements within but also allow the author to insert their own logic. E.g., to map old columns to new.\n\n## Logging\n\nWe need to get data back about failed migrations from our clients. Is this opt-in? Do we create a package that can be included to gather error data and ship it back home?\n\n## CRDTs\n\nWe need to consider how we'll handle tables that are replicated p2p in the face of migrations.\n1. We could stop clients from participating in the network until they've upgraded to the version of the most up to date client...\n2. We could run migration scripts (the data transform not alter table parts) in-memory to move an old version write to a new one. This of course needs to be reversable too and... if fields are combined what happens to their clocks?\n\nProbably go with (1) for the MVP. (1) still has clock and versioning issues though... similar to what (2) had but we cut the bi-directional problem.\n\n3. Counter\n4. LWW registers\n5. Sequence\n6. clock push\n7. Row level vs column level resolution\n\n## Prior art\n\nhttps://github.com/groue/GRDB.swift/blob/master/README.md (see their migrations syntax and handling -- pretty nice)","readmeFilename":"README.md","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.6","_integrity":"sha512-XVd3tWrAWT+uQkW56wvP+E9rGmW2zwWRLfynzTaxPpbWRlq095h++EYPdb7q9hWNYhZCRLlDyDTEF7OVXDCIXw==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/622c0c8ed768170aefc8bb3e91cc2966/aphro-migration-runtime-ts-0.1.6.tgz","_from":"file:aphro-migration-runtime-ts-0.1.6.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-XVd3tWrAWT+uQkW56wvP+E9rGmW2zwWRLfynzTaxPpbWRlq095h++EYPdb7q9hWNYhZCRLlDyDTEF7OVXDCIXw==","shasum":"c934126312fec66efb2b4482ac58baddfb2c2ec0","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.6.tgz","fileCount":26,"unpackedSize":69441,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtKPTH8k+0EKuIZgayxU2kfo4biivHevm7Rh9JnTcafAiEAh6aN7xq4U5NrcelwqSix5dvkxvmwgg+KpjIq3QA1cTM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjCO3bACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM8A/9HdjkiQFaNKPUPwzuXwshf3Xgjct8U5hPFEnJEHwZDct/zHiD\r\nbJoYN+TnAceoNPL4kLgJXKLuj6pTvHNoeqkIELWhcY7SHnECCn8otAJ35SMB\r\nNdrYIauRNCoQk3KNr5MpZamT70KLPOdr2ywvq+5yjz8GulLuavltpqWqrT25\r\nvKOBeIbyHoIgykXjxqzb+p9wF5ordnjUG5FYhIOqsON+Y8ZVQIs9gvahsv6t\r\nlEaFPQdTe2LNDL/LVnbc3TP8isv9Us+ap53OWrx67NGzTUAvxAzAwMNPw8eI\r\nJIyeHeuEgVlyW0jt5qw9hvrhuzYYKk4teuTecZAmEUuwWdFbSdWL+ARJeBfR\r\nvJM20eGQsD1VBv7Vtjy3JOnoyh/1itrHojwEOXgJ9zssBb9DcfNovjECtc3K\r\nr6PnRvrRRQrymQfj8W5p6aPY7lmseOryKToo7Y4K6HUdLnGntD8QHuRbA/R/\r\nu7ewxILUSoROeAkhMWcJ3aIfpJhPCfjF6NnF5DbAN6nPnPgxrYXTfNqrR6Ej\r\nb40SB4aLNZwqR0KFfqI2+iuywf/76pndtT4rTzTqeY3zMsvkiQ5CsQW49BnO\r\nrARg5hUdZ8FI/LAWHTOaB5EU6O8Cq7XFUvqtL2+/7Ihbhwc4vyffah1dQlYO\r\nrBActGPrh3awsSkvQadZuitEBg37U8VTLN0=\r\n=6SJV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.6_1661529563661_0.19972794463975618"},"_hasShrinkwrap":false},"0.1.7":{"name":"@aphro/migration-runtime-ts","version":"0.1.7","main":"lib/index.js","type":"module","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"dependencies":{"@aphro/context-runtime-ts":"0.3.6","@aphro/sql-ts":"0.2.6","@databases/sqlite":"^4.0.1","@strut/utils":"^0.1.1"},"devDependencies":{"@babel/core":"^7.18.13","@babel/preset-env":"^7.18.10","@types/jest":"^28.1.8","@types/prettier":"^2.7.0","@typescript-eslint/typescript-estree":"^5.35.1","jest":"^29.0.1","md5":"^2.3.0","prettier":"^2.7.1","sql-formatter":"^10.0.0","ts-jest":"^28.0.8","typescript":"^4.8.2"},"jest":{"testMatch":["**/__tests__/**/*.test.js"]},"scripts":{"clean":"tsc --build --clean","build":"tsc --build","watch":"tsc --build -w","test":"node --experimental-vm-modules ./node_modules/jest/bin/jest.js","deep-clean":"rm -rf ./lib || true && rm tsconfig.tsbuildinfo || true"},"types":"./lib/index.d.ts","description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"homepage":"https://github.com/tantaman/aphrodite#readme","_id":"@aphro/migration-runtime-ts@0.1.7","_integrity":"sha512-BFov3T1tWzMIQSwQ9dHDK6qREEi2WacIt3XlErD/9p/eFn/sxa4In8naqWhiRy3KeKZqKoaoW6Xm6OMXc5tF5g==","_resolved":"/private/var/folders/7f/dkx7mm_53cv0bs3kl15x9x1c0000gn/T/f81b8760630bcdadbd650130e70a772b/aphro-migration-runtime-ts-0.1.7.tgz","_from":"file:aphro-migration-runtime-ts-0.1.7.tgz","_nodeVersion":"18.2.0","_npmVersion":"8.10.0","dist":{"integrity":"sha512-BFov3T1tWzMIQSwQ9dHDK6qREEi2WacIt3XlErD/9p/eFn/sxa4In8naqWhiRy3KeKZqKoaoW6Xm6OMXc5tF5g==","shasum":"0b68b279f03e6f3696183ed302e92cf126b6ab6a","tarball":"https://registry.npmjs.org/@aphro/migration-runtime-ts/-/migration-runtime-ts-0.1.7.tgz","fileCount":26,"unpackedSize":69682,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL8+2JP4xHRmf3KUXPr5KcCKRYD5omMmO0A2RsG96k4AiEApn51zJA6NGh4qIY3fm627hTOty3pIvjfTXUoHSV6nko="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjF2hGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoKNA/+NcBqN9PyYTzENzONzxD9GkXQixQ1TjG3UIjUbgNrDFUGSxNW\r\njoLcbKnBWWsUYdjCY+F/6oESq6TLvYZkovmJsPPzXTXXCLSByt9hN78b5sln\r\n0gq3I9p1vo9uiYlSZPpeLVjLMtPAAWfLPvuFpgqroRUwmgCEMQ1MnsFoul6c\r\nOUJq5uJd4bM2LNypGxObAHiOE6oUHN59E+Y7S+Qv3iGxdD5LfO2W5WV3xQWc\r\nybKme2cqSsl4mQF2/CTAqfqOsK756yJc7RKuw0uYhAHX9MGUOdXf21ffDFTO\r\nlXSRxfqavv7jNi9lud8l5VRDc3b81YOWeC7JE8iXwTF6WgQvJDcCve1WbHuJ\r\nwHXDJt4h/Wc3FjctkNAsbfZcxn/8b8FbQPEBIj/tC8zpgMgrWwFgWMq+SwZN\r\nrzsCIx3Bs/eufMfalS+2LzRnGRB4i7GrnP92/DrtKS9bY6M4iF60Dw1drzaH\r\ngqUeRN1KzzZSQWJsrLe79RJnswiLEnqjxAFnMmQu3YwbmhJFL3rqAxQCYMre\r\nbpn15yeuDRa0ucDM+S/kevJltoZ+oV4gygQvW599P7QmJNjnBqBKFrXmB7Ml\r\niOW0txMZGA2xYBbSVJH5dg//kLKeydobA0UdV2G1ilfybKMQU7RfO2My9XdR\r\ndmuim92AlfD5prslCAntttT2z6XLy/5l4s8=\r\n=96lT\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tantaman","email":"matt.crinklaw@gmail.com"},"directories":{},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/migration-runtime-ts_0.1.7_1662478405902_0.7007612056870474"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-22T18:49:36.416Z","0.0.8":"2022-06-22T18:49:36.697Z","modified":"2022-09-06T15:33:26.331Z","0.0.9":"2022-06-23T19:33:49.447Z","0.0.10":"2022-07-05T16:44:05.444Z","0.0.11":"2022-07-11T18:49:16.127Z","0.0.12":"2022-07-12T16:08:17.738Z","0.1.0":"2022-07-20T20:33:10.954Z","0.1.1":"2022-08-05T01:24:38.182Z","0.1.2":"2022-08-05T14:51:47.612Z","0.1.3":"2022-08-10T11:09:55.134Z","0.1.4":"2022-08-10T13:14:53.241Z","0.1.5":"2022-08-11T20:41:08.628Z","0.1.6":"2022-08-26T15:59:23.872Z","0.1.7":"2022-09-06T15:33:26.166Z"},"maintainers":[{"name":"tantaman","email":"matt.crinklaw@gmail.com"}],"description":"Your DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?","homepage":"https://github.com/tantaman/aphrodite#readme","repository":{"type":"git","url":"git+https://github.com/tantaman/aphrodite.git","directory":"packages/migration-runtime-ts"},"bugs":{"url":"https://github.com/tantaman/aphrodite/issues"},"readme":"# Migration Runtime\n\nYour DB is on the client's device and you pushed an udpated to your app that changes the DB schema! OMG! What DO!?\n\nThe migration library provides a set of tools to enable you to manage and migrate database versions.\n\n## Tools\n- Interact with db metadata (e.g., version, pull schemas)\n- Compare table schemas in app vs table schemas in db\n- Drop tables\n- Recreate tables\n- Calculate alter statements\n- Apply migrations\n\nSome prior art from the days when websql was a thing:\n- https://github.com/nanodeath/JS-Migrator/blob/master/migrator.js\n- https://blog.maxaller.name/2010/03/html5-web-sql-database-intro-to-versioning-and-migrations/\n- https://gist.github.com/YannickGagnon/5320593\n\n# Ideas\n\n## Yolo Mode\n\n1. Drop mode\n2. Auto-alter mode\n\nDrop mode just drops and re-creates the tables any time a delta is detected.\n\nAuto-alter diffs the (1) running schema with the (2) persisted schema. Deltas are converted to alter table statements and run.\n\n## Versioned mode\n\nVersioned mode works by having a version in the schema file.\n\nAny time the version jumps the next codegen run will generate a migration script placeholder. This'll have generate alter statements within but also allow the author to insert their own logic. E.g., to map old columns to new.\n\n## Logging\n\nWe need to get data back about failed migrations from our clients. Is this opt-in? Do we create a package that can be included to gather error data and ship it back home?\n\n## CRDTs\n\nWe need to consider how we'll handle tables that are replicated p2p in the face of migrations.\n1. We could stop clients from participating in the network until they've upgraded to the version of the most up to date client...\n2. We could run migration scripts (the data transform not alter table parts) in-memory to move an old version write to a new one. This of course needs to be reversable too and... if fields are combined what happens to their clocks?\n\nProbably go with (1) for the MVP. (1) still has clock and versioning issues though... similar to what (2) had but we cut the bi-directional problem.\n\n3. Counter\n4. LWW registers\n5. Sequence\n6. clock push\n7. Row level vs column level resolution\n\n## Prior art\n\nhttps://github.com/groue/GRDB.swift/blob/master/README.md (see their migrations syntax and handling -- pretty nice)","readmeFilename":"README.md"}