Skip to content

Commit 1554d13

Browse files
authored
Merge pull request #99 from wonda-tea-coffee/fix-typo
Fix typo
2 parents bef4063 + 2b74b7d commit 1554d13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ Only fire the update trigger if at least one of the columns is specified in the
101101
Permissions/role to check when calling trigger. PostgreSQL supports `:invoker` (default) and `:definer`, MySQL supports `:definer` (default) and arbitrary users (syntax: `'user'@'host'`).
102102

103103
#### timing(timing)
104-
Required (but may be satisified by `before`/`after`). Possible values are `:before`/`:after`.
104+
Required (but may be satisfied by `before`/`after`). Possible values are `:before`/`:after`.
105105

106106
#### events(*events)
107-
Required (but may be satisified by `before`/`after`). Possible values are `:insert`/`:update`/`:delete`/`:truncate`. MySQL/SQLite only support one action per trigger, and don't support `:truncate`.
107+
Required (but may be satisfied by `before`/`after`). Possible values are `:insert`/`:update`/`:delete`/`:truncate`. MySQL/SQLite only support one action per trigger, and don't support `:truncate`.
108108

109109
#### nowrap(flag = true)
110110
PostgreSQL-specific option to prevent the trigger action from being wrapped in a `CREATE FUNCTION`. This is useful for executing existing triggers/functions directly, but is not compatible with the `security` setting nor can it be used with pre-9.0 PostgreSQL when supplying a `where` condition.

lib/hair_trigger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def current_migrations(options = {})
6262
options[:skip_pending_migrations] = true
6363
end
6464

65-
# if we're in a db:schema:dump task (explict or kicked off by db:migrate),
65+
# if we're in a db:schema:dump task (explicit or kicked off by db:migrate),
6666
# we evaluate the previous schema.rb (if it exists), and then all applied
6767
# migrations in order (even ones older than schema.rb). this ensures we
6868
# handle db:migrate:down scenarios correctly

0 commit comments

Comments
 (0)