Skip to content

Commit

Permalink
chore: delete sub, replace middle_name comment, adds created_at
Browse files Browse the repository at this point in the history
  • Loading branch information
usrrname committed Feb 21, 2025
1 parent d12a994 commit 9421f34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/migrations/20251740066033_user_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ export async function up(knex: Knex): Promise<void> {

await knex.schema.createTable('user_info', table => {
table.increments();
table.string('sub', 50).notNullable().comment('Subject - Identifier for the End-User at the Issuer.');
table.string('name', 200).nullable().comment('End-User\'s full name in displayable form including all name parts, possibly including titles and suffixes, ordered according to the End-User\'s locale and preferences.');
table.string('middle_name').nullable().comment('Casual name of the End-User that may or may not be the same as the given_name.');
table.string('middle_name').nullable().comment('Middle name(s) of the End-User.');
table.string('given_name', 30).nullable().comment('Given name(s) or first name(s) of the End-User.');
table.string('family_name', 30).nullable().comment('Surname(s) or last name(s) of the End-User.');
table.date('birthdate').nullable().comment('End-User\'s birthday');
table.integer('updated_at').unsigned().nullable().comment('Time the End-User\'s information was last updated.');
table.text('address').nullable().comment('End-User\'s preferred postal address. ');
table.string('locale', 5).nullable().comment('End-User\'s locale. For example, en-US or fr-CA.');
table.string('zoneinfo').nullable().comment('End-User\'s time zone. For example, Europe/Paris or America/Los_Angeles.');
table.integer('created_at').unsigned().comment('Time the user_info record was created.');
table.integer('updated_at').unsigned().nullable().comment('Time the End-User\'s information was last updated.');
table.text('metadata');
});

Expand Down

0 comments on commit 9421f34

Please sign in to comment.