Sha256: 0876d7055b94ff967ac26772db74628ba7585c85d29ee33e79c74020c9da9839

Contents?: true

Size: 540 Bytes

Versions: 6

Compression:

Stored size: 540 Bytes

Contents

Description:
    Stubs out a new database migration. Pass the plugin name, migration name
    (either CamelCased or under_scored), and an optional list of attribute pairs
    as arguments.

    A migration class is generated in test/app_root/db/migrate prefixed by a
    timestamp of the current date and time.

Example:
    `./script/generate plugin_test_migration has_comments AddPosts`

    If the current date is May 14, 2008 and the current time 09:09:12, this creates the AddPosts migration
    db/migrate/20080514090912_add_posts.rb

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
plugin_test_helper-0.3.1 generators/plugin_test_migration/USAGE
plugin_test_helper-0.1.5 generators/plugin_test_migration/USAGE
plugin_test_helper-0.1.6 generators/plugin_test_migration/USAGE
plugin_test_helper-0.2.0 generators/plugin_test_migration/USAGE
plugin_test_helper-0.2.1 generators/plugin_test_migration/USAGE
plugin_test_helper-0.3.0 generators/plugin_test_migration/USAGE