ref https://blog.jobins.jp/store-data-in-google-sheets-using-laravel ################ # google sheet # ################ เพิ่ม email สำหรับแก้ไข sheet (สิทธิ editor) อีเมลอยู่ที่ console.cloud.google.com tab APIs & Services > Credentials > Service Accounts ################# # school, group # ################# แก้ไข config/google.php - post_spreadsheet_id (id sheet ที่ต้องการให้เพิ่มข้อมูล) - post_spreadsheet_name (ชื่อ tab ที่ต้องการเพิ่ม) แก้ไข storage/credentials.json - แก้ไขตาม Service Accounts ########## # school # ########## update table courses เพิ่ม field | Name | Type | Length | Null | --------------------------------------- | subject_id | bigint | 20 | true |