-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit-db.js
More file actions
30 lines (28 loc) · 1.02 KB
/
Copy pathinit-db.js
File metadata and controls
30 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<<<<<<< HEAD
const { initializeDatabase } = require('./services/database');
// Initialize the database
initializeDatabase()
.then(() => {
console.log('Database initialized successfully');
console.log('Please ensure you have created the users table in your Supabase project');
console.log('Refer to SUPABASE_SETUP.md for detailed instructions');
process.exit(0);
})
.catch((error) => {
console.error('Failed to initialize database:', error);
process.exit(1);
=======
const { initializeDatabase } = require('./services/database');
// Initialize the database
initializeDatabase()
.then(() => {
console.log('Database initialized successfully');
console.log('Please ensure you have created the users table in your Supabase project');
console.log('Refer to SUPABASE_SETUP.md for detailed instructions');
process.exit(0);
})
.catch((error) => {
console.error('Failed to initialize database:', error);
process.exit(1);
>>>>>>> 4939126ee5c953624a0df2c93b0c18153fd12173
});