16 Matching Annotations
  1. May 2025
    1. For any new environments and databases, you can use just drizzle-kit migrate, and all the migrations together with init will be applied
    2. When you run migrate on a database that already has all the tables from your schema, you need to run it with the drizzle-kit migrate --no-init flag, which will skip the init step. If you run it without this flag and get an error that such tables already exist, drizzle-kit will detect it and suggest you add this flag.
    3. When you introspect the database, you will receive an initial migration without comments. Instead of commenting it out, we will add a flag to journal entity with the init flag, indicating that this migration was generated by introspect action
    1. root@51a758d136a2:~/test/test-project# npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > migration.sql root@51a758d136a2:~/test/test-project# cat migration.sql -- CreateTable CREATE TABLE "test" ( "id" SERIAL NOT NULL, "val" INTEGER, CONSTRAINT "test_pkey" PRIMARY KEY ("id") ); root@51a758d136a2:~/test/test-project# mkdir -p prisma/migrations/initial root@51a758d136a2:~/test/test-project# mv migration.sql prisma/migrations/initial/
    1. While that change fixes the issue, there’s a production outage waiting to happen. When the schema change is applied, the existing GetUserActions query will begin to fail. The correct way to fix this is to deploy the updated query before applying the schema migration. sqlc verify was designed to catch these types of problems. It ensures migrations are safe to deploy by sending your current schema and queries to sqlc cloud. There, we run your existing queries against your new schema changes to find any issues.
  2. Apr 2024
    1. In 2013, Al-Jallad used the Safaitic database as he worked on an inscription containing several mysterious words: Maleh, Dhakar, and Amet. Earlier scholars had assumed that they were the names of unknown places. Al-Jallad, unconvinced, searched the database and discovered another inscription that contained all three. Both inscriptions discussed migrations in search of water, and a possibility occurred to him: if the words referred to seasons of migration, then they might be the names of constellations visible at those times.
  3. Jan 2023
    1. We found no statistically significant predictors of either Spring or Autumn migration periods.
    2. Finally, statistics should reinforce the fact that any patterning found cannot be explained as accidental.

      It is possible that the variations in patterning may tell us about the relative timing of the data. Perhaps the earliest data points may have been anecdotal evidence that was improved over time.

      Of course it could be the case that migrations, births, etc. may have shifted somewhat over time.

      What does the general climate data from these areas and this time period show? Is there variability in this time period?

  4. May 2021
    1. the maps that one can find on wikipedia or other um avenues you know to would get quick information seem to rely on a theory according to which

      Dr. Florin Curta demolishes the theory that Slavs came from the Kiev steppes of Chernobyl.

  5. Sep 2020
    1. Jesse Keenan, an urban-planning and climate-change specialist then at Harvard’s Graduate School of Design, who advises the federal Commodity Futures Trading Commission on market hazards from climate change. Keenan, who is now an associate professor of real estate at Tulane University’s School of Architecture, had been in the news last year for projecting where people might move to — suggesting that Duluth, Minnesota, for instance, should brace for a coming real estate boom as climate migrants move north.

      Why can't we project additional places like this and begin investing in infrastructure and growth in those places?