Discover and read the best of Twitter Threads about #seeding

Most recents (3)

☕️ Good morning on this the 210th day of 2022 and the 29th of July

🙏THANK YOU

For reading what I write, without readership those who commission things written won't be asking me to do the writing, so I am deeply appreciative of your reading the words I string together.❣️🙏
July was a 1/2 vacation and 1/2 work month with 8 articles published for @ClearanceJobs @CSOonline and @securityblvd

They follow ⤵️
U.S. and UK warn local governments, businesses of China’s influence operations – Security Boulevard – 07 July 2022

csoonline.com/article/366649…
#china #US #UK #influenceops #natsec
Read 10 tweets
TIL there's lots of ways of #seeding #fakedata into a #SQL #database. You can either

A. Seed it with purely random data all the way
B. Seed it with realistic data
C. Seed it initially with random data, but tie that data into other tables realistically
When you seed a database, you start off with enum (that's like a dictionary that doesn't change in size). If you look at a database schema, it's the tables that are only connected one time.

Then you focus on tables that have only have 1 foreign key tied, tied to an enum
Example with a basic HR database schema. Start seeding the outlier tables first, starting with the bottom-left most and bottom-right most tables, followed by bottom-middle.
Read 11 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!