Skip to content

Commit

Permalink
Merge pull request #88 from story-squad/okta
Browse files Browse the repository at this point in the history
Okta authorization
  • Loading branch information
trevorjamesmartin committed Mar 11, 2021
2 parents f5f77fc + 4e548b2 commit 96085b9
Show file tree
Hide file tree
Showing 8 changed files with 545 additions and 11 deletions.
15 changes: 15 additions & 0 deletions data/migrations/20210310155617_okta-profile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
exports.up = (knex) => {
return knex.schema
.raw('CREATE EXTENSION IF NOT EXISTS "uuid-ossp"')
.createTable('profiles', function (table) {
table.string('id').notNullable().unique().primary();
table.string('email');
table.string('name');
table.string('avatarUrl');
table.timestamps(true, true);
});
};

exports.down = (knex) => {
return knex.schema.dropTableIfExists('profiles');
};

0 comments on commit 96085b9

Please sign in to comment.