Sha256: 185f3371a6df935cd042c47560534a9e5c5e3c8819ec4e7590d2568aa9af634c

Contents?: true

Size: 497 Bytes

Versions: 10

Compression:

Stored size: 497 Bytes

Contents

class AddLadyJosephineTo<%= table_name.camelize %> < ActiveRecord::Migration
  def change
    add_column :<%= table_name %>, :content_data,                  :string,    default: "{}"
    add_column :<%= table_name %>, :lady_josephine_ping_date,      :timestamp
    add_column :<%= table_name %>, :lady_josephine_ping_user_id,   :integer
    add_column :<%= table_name %>, :lady_josephine_server_uuid,    :string
    add_column :<%= table_name %>, :lady_josephine_server_version, :string
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lady_josephine-0.7.0 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.6.3 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.6.2 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.6.1 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.6.0 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.5.0 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.0.4 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.0.3 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.0.2 lib/generators/lady_josephine_migration/templates/migration.rb
lady_josephine-0.0.1 lib/generators/lady_josephine_migration/templates/migration.rb