implement organization repo
This commit is contained in:
@ -4,7 +4,7 @@ CREATE TABLE learning_categories (
|
||||
courses_count INT NOT NULL DEFAULT 0
|
||||
);
|
||||
|
||||
create table organization (
|
||||
create table organizations (
|
||||
id TEXT PRIMARY KEY,
|
||||
external_id TEXT NULL,
|
||||
alias TEXT NOT NULL,
|
||||
@ -16,4 +16,4 @@ create table organization (
|
||||
deleted_at DATETIME NULL
|
||||
);
|
||||
|
||||
CREATE INDEX idx_organization_external_id ON organization (external_id);
|
||||
CREATE INDEX idx_organization_external_id ON organizations (external_id);
|
||||
|
||||
Reference in New Issue
Block a user