Databases: How can i add new table in Moodle

Databases: How can i add new table in Moodle

by pisan mong -
Number of replies: 4
Hi, all
Could you please give me a guideline how can i create new table ( consisted of courseId and studentId as a field in Moodle system)

I don't know where the starting point is

Thank you so much,,,
Average of ratings: -
In reply to pisan mong

ตอบ: How can i add new table in Moodle

by pisan mong -
I want to get users who are in student roles form User table and their courses. So, i decided to create new table to keep that two attributes. TT

If you know, Please help me

Thanks!
In reply to pisan mong

Re: ตอบ: How can i add new table in Moodle

by vinod kumar -
Any lucks ?
i had also strucjk over same problem
In reply to pisan mong

Re: Databases: How can i add new table in Moodle

by vinod kumar -
http://docs.moodle.org/en/Development:Installing_and_upgrading_plugin_database_tables
go to this link, here the complete procedure had given to create a plugin
In reply to vinod kumar

Re: Databases: How can i add new table in Moodle

by shivaprasad imdapur -

I want to create separate  time-table for teacher and student. can anyone help me about how to create a new table for time-table in moodle database