Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Simple package for creating mockdata for a live database, according to specified relational schema.
This is small project for generating artificial / mock data, conforming to the specified DB schema. It can be useful to either generate pseudo-realistic data in the database, or prepare large amounts of mock data for stress testing.
The package allows for generating mock data for specified database schema.
{
"connection": "postgresql+psycopg2://admin:test@172.17.0.1:5432/ChmielDB",
"tables": {
"Projects":{
"id": "PK serial",
"project_name": "first_name",
"project_owner": "FK Users.id"
},
"Users": {
"id": "PK serial",
"first_name": "first_name",
"last_name": "last_name",
"email": "email UNIQUE",
"password": "password",
"role": "OPTION IN (USER, ADMIN)",
"address": "address",
"birth_date": "timestamp",
"phone_number": "phone"
},
"IntermediaryTable: Projects_Users": {
"project_id": "FK Projects.id",
"user_id": "FK Users.id"
},
},
"objects_count": {
"Users": 25,
"Projects": 10,
"Projects_Users": 250,
}
The program only checks for uniqueness and integrity withing itself, there can still be error if there's already existing data in the database.
FAQs
Simple package for creating mockdata for a live database, according to specified relational schema.
We found that db-mockdata demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.