migrate: Add support CQL comment callbacks
This patch adds a new migration event type CallComment that it triggered by adding `-- CALL <name>;` comment in a CQL file. Fixes #101
This commit is contained in:
committed by
Michal Jan Matczuk
parent
41e4a3fa11
commit
d25129e2fc
5
migrate/export_test.go
Normal file
5
migrate/export_test.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package migrate
|
||||
|
||||
func IsCallback(stmt string) (name string) {
|
||||
return isCallback(stmt)
|
||||
}
|
||||
Reference in New Issue
Block a user