mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* schema now represented in migrations (untested) * seeds (untested) * added seeding and fixed seed id #s * removed run-migrations, not migrating .ts files * setup.ts runs with migrate and seed * removed unneeded console.log() * guest id is uuid, because I can * added guest_events, changed user => guest * updated column types * removing system_tables migration file * fixed many to one relation for favorite_artist * added relational tables to collections * fixed relations * geometry fields * updated schema
13 lines
293 B
JavaScript
13 lines
293 B
JavaScript
exports.seed = function (knex) {
|
|
return knex('directus_users').insert([
|
|
{
|
|
id: 'a8057636-9b70-4804-bfec-19c88d1a3273',
|
|
email: 'test@admin.com',
|
|
password: 'TestAdminPassword',
|
|
status: 'active',
|
|
role: '5b935e65-d3db-4457-96f1-597e2fcfc7f3',
|
|
token: 'AdminToken',
|
|
},
|
|
]);
|
|
};
|