mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
make emails not unique for now
This commit is contained in:
committed by
Akhil Mohan
parent
f9e7d4ddd2
commit
fb271726fe
@@ -13,7 +13,7 @@ export async function up(knex: Knex): Promise<void> {
|
||||
if (!isTablePresent) {
|
||||
await knex.schema.createTable(TableName.Users, (t) => {
|
||||
t.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
|
||||
t.string("email").unique().notNullable();
|
||||
t.string("email").notNullable();
|
||||
t.specificType("authMethods", "text[]");
|
||||
t.boolean("superAdmin").defaultTo(false);
|
||||
t.string("firstName");
|
||||
|
||||
Reference in New Issue
Block a user