-
Notifications
You must be signed in to change notification settings - Fork 6
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
Request Database abstraction and MySQL instance #7
Comments
I think this should be a basic database to store student info -- Database: `uscc_attendee`
-- Table structure for table `attendee`
CREATE TABLE `attendee` (
`id` int(11) NOT NULL,
`student_id` int(11) NOT NULL,
`checkin_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`checkout_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Table structure for table `student`
CREATE TABLE `student` (
`id` int(11) NOT NULL,
`name` varchar(250) NOT NULL,
`card_id` varchar(250) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE ADD CONSTRAINT attendee_studentid_fk FOREIGN KEY(student_id) REFERENCES student(id); |
@haha8x Please tweak it with markdown format. There 's a useful and powerful markdown note editor, HackMD. Here is an overview and features,HackMD - feature. It would be helpful for you. Moreover, I would check it after you tweak it. |
@haha8x Please check this, HackMD - feature - code block, and tweak it with |
Pardon! Are you still working on it? If so, please notify me or I would assign this work to others. |
My seafood, @yenwu. I suppose we should add a |
@as23041248 , why we need that? Others could just PR to Moreover, I create By the way, you are already a committer, and you have full accessibility to this repository. If you hesitate to what you're going to do, you could ask me for suggestions. Just like this. |
Update this issue. I found that |
Hello all,
Recently, we need a Database module to store the timestamps of attendance. We call for help to impl it with extensibility. However, it should contain database interface and MySQL instance basically in Python3. Please follow
mail
mechanism(previous work). PR would be accepted with these three components:Note that if you work on it, please notify us, thanks.
The text was updated successfully, but these errors were encountered: