README.md in fx-0.7.0 vs README.md in fx-0.8.0
- old
+ new
@@ -1,8 +1,8 @@
# F(x)
-[![Build Status](https://travis-ci.com/teoljungberg/fx.svg?token=AgJn4nPeY6ue2Pvy23JQ&branch=master)](https://travis-ci.com/teoljungberg/fx)
+[![Build Status](https://github.com/teoljungberg/fx/actions/workflows/ci.yml/badge.svg)](https://github.com/teoljungberg/fx/actions/workflows/ci.yml)
[![Documentation Quality](http://inch-ci.org/github/teoljungberg/fx.svg?branch=master)](http://inch-ci.org/github/teoljungberg/fx)
F(x) adds methods to `ActiveRecord::Migration` to create and manage database
functions and triggers in Rails.
@@ -47,10 +47,10 @@
```sql
CREATE TRIGGER uppercase_users_name
BEFORE INSERT ON users
FOR EACH ROW
- EXECUTE PROCEDURE uppercase_users_name();
+ EXECUTE FUNCTION uppercase_users_name();
```
The generated migrations contains `create_function` and `create_trigger`
statements. The migration is reversible and the schema will be dumped into your
`schema.rb` file.