Files
directus/tests/setup/seeds/04_directus_users.js
Jay Cammarano 5c16ed20b9 E2E Schema generated through migration and seed files (#8853)
* 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
2021-10-20 11:44:04 -04:00

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',
},
]);
};