- Source: Database seeding
Database seeding is populating a database with an initial set of data. It is common to load seed data such as initial user accounts or dummy data upon initial setup of an application.
Entity Framework
\Migrations\Configuration.cs
Entity Framework Core
Symfony PHP Framework
AppBundle/DataFixtures/ORM/customer.yml (as in Version 1 of hautelook/AliceBundle )
Laravel PHP Framework
app/database/seeds/users.php
Command line
MySQL:
mysql -u username -p database_name < file.sql
PostgreSQL:
pg_restore -h hostname -d database_name -U username file.sql
Microsoft SQL Server:
sqlcmd -S server_name\instance_name -i file.sql
External links
https://laravel.com/docs/migrations
https://docs.microsoft.com/en-us/previous-versions/gg679410(v%3Dvs.113)
https://docs.microsoft.com/en-us/ef/core/modeling/data-seeding
Kata Kunci Pencarian:
- Pemulihan bencana
- MacKenzie Scott
- Bambu
- Rantai blok
- Ceres
- Ariel Hsing
- Sci-Hub
- Database seeding
- Seeding
- Cloud seeding
- Vector database
- Seed
- Laravel
- Seeding of a Ghost
- Chia seed
- Seed drill
- Ingres (database)