Skip to content

Commit

Permalink
feat(envited.ascs.digital): add is published flag (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
royscheeren authored Jan 29, 2024
2 parents 70595f9 + 5f8bf4c commit 6a6c0a9
Show file tree
Hide file tree
Showing 8 changed files with 1,270 additions and 2 deletions.
3 changes: 1 addition & 2 deletions apps/envited.ascs.digital/app/dashboard/users/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { getUsersByIssuerId } from 'apps/envited.ascs.digital/common/server'

import { getUsersByIssuerId } from '../../../common/server'
import { Users } from '../../../modules/Users'

export default async function Index() {
Expand Down
1 change: 1 addition & 0 deletions apps/envited.ascs.digital/common/database/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const profile = pgTable('profile', {
email: text('email'),
website: text('website'),
offerings: jsonb('offerings'),
isPublished: boolean('is_published').default(false),
})

export const companyCategory = pgTable('companyCategory', {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "profile" ADD COLUMN "is_published" boolean DEFAULT false;
Loading

0 comments on commit 6a6c0a9

Please sign in to comment.