-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switched to sqlite for easy deployment and related changes to make it…
… work with it.
- Loading branch information
1 parent
4f10def
commit f124026
Showing
8 changed files
with
66 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"tabWidth": 4, | ||
"printWidth": 100 | ||
"printWidth": 100, | ||
"endOfLine": "lf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
teacher_name,teacher_email,subject_name,batch_name,department_name,group_name,is_lab,group_allow_simultaneous | ||
Dr Chandan Kumar Choubey CKC,[email protected],Basic Electrical and Electronics Engineering,fy,ra,core,0,0 | ||
Prof Jayshree PandeJP,[email protected],Basic Electrical and Electronics Engineering ,fy,mech,core,0,0 | ||
Prof Jayshree PandeJP,[email protected],Basic Electrical and Electronics Engineering,fy,mech,core,0,0 | ||
Dr Chandan Kumar Choubey CKC,[email protected],Basic Electrical and Electronics Engineering lab,fy,ra,core,1,0 | ||
Prof Jayshree PandeJP,[email protected],Basic Electrical and Electronics Engineering lab,fy,mech,core,1,0 | ||
Dr Harikrishan R HKR,[email protected],Basic of Sensors and Microcontrollers,fy,civil,core,0,0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
import { Sequelize } from "sequelize"; | ||
import Logger from "../../utils/logging"; | ||
|
||
const sequelize = new Sequelize("timetable_manager", "root", Bun.env.DB_PASS, { | ||
dialect: "mysql", | ||
logging: Logger.sqlLog, | ||
port: 3306, | ||
dialectOptions: { | ||
socketPath: "/var/run/mysqld/mysqld.sock" | ||
}, | ||
}); | ||
const sequelize = new Sequelize("sqlite::memory:"); | ||
|
||
export default sequelize; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters