1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00
Commit graph

31 commits

Author SHA1 Message Date
Jared Beck
0435936a37 Set MySQL collation: versions tbl: utf8mb4_general_ci
Should fix the "Unknown collation: 'utf8mb4_col'" error from
https://github.com/airblade/paper_trail/issues/741
2016-03-31 16:24:11 -04:00
Jared Beck
8980f08d0e Fix Style/StringLiterals: Use double quotes 2016-03-05 17:07:32 -05:00
Jared Beck
3581fb33c6 A more concise warning 2016-03-05 16:57:36 -05:00
Jared Beck
31f64c82d8 Fix Style/UnlessElse 2016-03-05 16:56:31 -05:00
Jared Beck
10941c8459 Fix Style/HashSyntax 2016-02-15 22:32:40 -05:00
Jared Beck
ae6358d93c Fix Style/ExtraSpacing 2016-02-15 22:28:21 -05:00
Jared Beck
74dcacf520 Fix Style/EmptyLinesAroundClassBody 2016-02-15 22:23:05 -05:00
Jared Beck
6171397d8e Fix Style/EmptyLinesAroundAccessModifier 2016-02-15 22:21:22 -05:00
Jared Beck
649c4e222a Fix Style/AlignHash 2016-02-15 21:30:26 -05:00
Jared Beck
d138b955af MySQL: Specify utf8mb4 charset for versions table
Fixes #651
2015-12-27 17:59:20 -05:00
Jared Beck
3a72b7f7c7 Code style: Break long lines 2015-12-13 00:01:40 -05:00
Jared Beck
1d120ab9e4 Docs: Add warnings about time precision in MySQL
[ci skip]
2015-10-31 21:17:05 -04:00
Jared Beck
4ba85e2548 In MySQL, use longtext instead of text
[Fixes #248]

- MySQL uses limit to choose between `text`, `mediumtext`, and `longtext`.
- Postgres ignores any limit up to 1GB - 1 byte.  Greater limits cause an error.
- SQLite uses the limit literally
2015-06-22 18:33:52 -04:00
Ben Atkins
a2f3b9e3b1 Remove typo from migration warning [ci skip] 2015-03-20 18:53:52 -04:00
Ben Atkins
4ee62c2a9d close #494; Migration generator can display an Alert warning to prevent attempts to create duplicate migrations 2015-03-20 18:50:16 -04:00
Ben Atkins
8e2dbdffb0 Make install generator have optional argument for tracking associations; update README accordingly [ci skip] 2014-12-24 12:13:13 -05:00
Ben Li
aba6ef5241 fix migration code 2014-11-04 12:48:10 +11:00
lyfeyaj
2e688a8794 merge airblade/paper_trail branch Master into master and fix conflicts 2014-03-14 08:45:43 +08:00
Ben Atkins
ed2e3d55e4 Remove word 'column' from migration to add 'object_changes' column to follow Rails convention 2014-03-07 16:28:04 -05:00
Ben Atkins
72f5215c69 close #340; Remove unnecessary require statement from InstallGenerator 2014-03-07 16:13:32 -05:00
Ben Atkins
8cd1426b01 Add generator spec for InstallGenerator; Use 'change' method for migrations 2014-03-07 16:12:27 -05:00
lyfeyaj
78292e0fb0 add has many associations functionality 2014-02-25 22:02:36 +08:00
Ben Atkins
a7e11f6fe9 Fully qualifying calls to ActiveRecord; replacing + char with backticks in comments for better documentation [ci skip] 2013-10-16 15:35:53 -04:00
Ben Atkins
ccf06da461 Leveraging ActiveRecord::Generators::Base class for implementation of the :next_migration_number class method on the InstallGenerator 2013-08-19 12:02:11 -04:00
Ben Atkins
b4a9aabe74 Fixing the Rails InstallGenerator so it won't throw namespace collision errors with the new PaperTrail::Rails module. Close #258 2013-08-19 09:44:08 -04:00
Chris Nicola
121cdff544 Fixes the migration generators 2013-02-04 16:31:05 -08:00
Andy Stewart
d04c8454ba Fix description option and update text. 2011-07-13 09:56:04 +01:00
Edward Tsech
9cf1186f0d Added optional migration for changes 2011-07-13 10:19:47 +07:00
Andy Stewart
a535ed4f22 Make Generator more Rails 3-esque. 2011-02-09 10:52:43 +00:00
Andy Stewart
e934562477 Whitespace. 2010-10-11 17:51:10 +01:00
conickal
3954767072 Add generator compatible with Rails 3. 2010-10-11 17:51:10 +01:00