Sha256: 433a3416846c9c73e88a2bba2cd300efa2307f1f3906b41c933afe7b2dbe6cfe
Contents?: true
Size: 488 Bytes
Versions: 15
Compression:
Stored size: 488 Bytes
Contents
require "generators/active_snapshot/migration_generator" module ActiveSnapshot class InstallGenerator < MigrationGenerator source_root File.expand_path("templates", __dir__) desc "Generates a migration to add a the `snapshots` and `snapshot_items` tables" def create_migration_file add_migration( MIGRATION_NAME, { table_options: table_options, } ) end MIGRATION_NAME = "create_snapshots_tables".freeze end end
Version data entries
15 entries across 15 versions & 1 rubygems