mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 11:27:07 +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) {
|
if (!isTablePresent) {
|
||||||
await knex.schema.createTable(TableName.Users, (t) => {
|
await knex.schema.createTable(TableName.Users, (t) => {
|
||||||
t.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
|
t.uuid("id", { primaryKey: true }).defaultTo(knex.fn.uuid());
|
||||||
t.string("email").unique().notNullable();
|
t.string("email").notNullable();
|
||||||
t.specificType("authMethods", "text[]");
|
t.specificType("authMethods", "text[]");
|
||||||
t.boolean("superAdmin").defaultTo(false);
|
t.boolean("superAdmin").defaultTo(false);
|
||||||
t.string("firstName");
|
t.string("firstName");
|
||||||
|
|||||||
Reference in New Issue
Block a user