westonganger / active_snapshot

Simplified snapshots and restoration for ActiveRecord models and associations with a transparent white-box implementation
MIT License
103 stars 16 forks source link

Use correct create_table syntax #24

Closed travisdock closed 1 year ago

travisdock commented 1 year ago

Removed the brackets to make the argument passed to create_table in the migration generator a single hash as the method expects. https://apidock.com/rails/v6.1.3.1/ActiveRecord/ConnectionAdapters/SchemaStatements/create_table