feat: RLS on all tables (#399)

* implement RLS

* set default course currency to USD

* remove unused import

* update default currency in course in db
This commit is contained in:
Rotimi Best
2024-07-18 02:58:57 +01:00
committed by GitHub
parent 1718fde372
commit df7a5818bb
3 changed files with 1316 additions and 4 deletions
@@ -17,7 +17,6 @@
import { COURSE_TYPE } from '$lib/utils/types';
import RadioButtonChecked from 'carbon-icons-svelte/lib/RadioButtonChecked.svelte';
import GrowthIcon from 'carbon-icons-svelte/lib/Growth.svelte';
import CourseIcon from 'carbon-icons-svelte/lib/Course.svelte';
import UserProfileIcon from 'carbon-icons-svelte/lib/UserProfile.svelte';
export let bannerImage: string | undefined;
@@ -29,7 +28,7 @@
export let cost = 0;
export let totalLessons = 0;
export let totalStudents = 0;
export let currency = 'NGN';
export let currency = 'USD';
export let isOnLandingPage = false;
export let isLMS = false;
export let isExplore = false;