Remove username column (#5052)

This commit is contained in:
Tom Moor
2023-03-17 11:23:32 -04:00
committed by GitHub
parent 497ab4b89f
commit e69935be99
10 changed files with 14 additions and 44 deletions

View File

@@ -182,7 +182,6 @@ export async function buildUser(overrides: Partial<User> = {}) {
{
email: `user${count}@example.com`,
name: `User ${count}`,
username: `user${count}`,
createdAt: new Date("2018-01-01T00:00:00.000Z"),
updatedAt: new Date("2018-01-02T00:00:00.000Z"),
lastActiveAt: new Date("2018-01-03T00:00:00.000Z"),

View File

@@ -28,7 +28,6 @@ export const seed = async () => {
const admin = await User.create(
{
email: "admin@example.com",
username: "admin",
name: "Admin User",
teamId: team.id,
isAdmin: true,