Skip to content

Commit 5bd9840

Browse files
authored
Update archivable.markdown (#436)
Explained that `sync` is taking care of the table structure only. Fixed type in the archive_class comment
1 parent 47d56ca commit 5bd9840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/behaviors/archivable.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ These parameters are available:
2626
|--------------------------------|-----------------|-------------|-------------|
2727
|archive_table | literal | Name of the table storing archive data. Will be created if it does not exist. Cannot be combined with the `archive_class` parameter. | Original table name with suffix `_archive`| |
2828
| archive_phpname | literal | Sets the name of the generated PHP model and query classes. | Pascal-case version of `archive_table` |
29-
| sync | `true`/`false` | If true, changes to the source table will also be applied to the `archive_table`. | `false` |
30-
| archive_class | literal | Name of an existing Model class. The underlying table will be used to store the archive. Cannot be combined with the `archive_class` parameter. | none |
29+
| sync | `true`/`false` | If true, changes to the source table definition will also be applied to the `archive_table`. | `false` |
30+
| archive_class | literal | Name of an existing Model class. The underlying table will be used to store the archive. Cannot be combined with the `archive_table` parameter. | none |
3131
| log_archived_at | `true`/`false` | Enables or disables additional archival timestamp column. | `true` |
3232
| archived_at_column | literal | Sets the name of the column storing the archival datetime. | `archived_at` |
3333
| archive_on_insert | `true`/`false` | Archive row data on insert. | `false` |

0 commit comments

Comments
 (0)