Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: impl SpeakerService #81

Merged
merged 4 commits into from
Jan 25, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
write schema
ras0q committed Jan 25, 2025
commit c99141f032443ba1606c690f272b97336237ecfa
11 changes: 11 additions & 0 deletions server/migrations/1_init.sql
Original file line number Diff line number Diff line change
@@ -31,3 +31,14 @@ CREATE TABLE IF NOT EXISTS `reactions` (
PRIMARY KEY (`id`),
FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
);

CREATE TABLE IF NOT EXISTS `speaker_phones` (
`id` BINARY(16) NOT NULL,
`position_x` INT UNSIGNED NOT NULL,
`position_y` INT UNSIGNED NOT NULL,
`receive_range` INT UNSIGNED NOT NULL,
`name` VARCHAR(255) NOT NULL,
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
`updated_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
);