News

It would be great if the pd.to_sql function would add new columns to an existing database table when appending. This would happen when the dataframe which is to be appended to the database table ...
BColumn int64 `gorm:"primaryKey;column:b;" CColumn int64 `gorm:"primaryKey;column:c;" } err := db.Debug().Table("table_b").AutoMigrate(&TestB{}) will create table_b with create primary key PRIMARY KEY ...