Sha256: e083c0154bec7ec0d795444d0bb4d019734cc1c41cae63a9fb9bd9eb141a65dd

Contents?: true

Size: 330 Bytes

Versions: 27

Compression:

Stored size: 330 Bytes

Contents

class EnjoyCreateContactMessages < ActiveRecord::Migration
  def change
    create_table :contact_messages do |t|
      t.string :name
      t.string :email
      t.string :phone
      t.text :content
      t.timestamps
    end

    add_index :contact_messages, :created_at
    add_index :contact_messages, :updated_at
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
enjoy_cms-0.3.7.4 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.7.3 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.7.2 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.7.1 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.7 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.6.2 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.6.1 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.6 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.5 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.4 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.3 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.2.1 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.2 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.1.2 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.1.1 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.1 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.0.4 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.0.3 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.3.0.2 lib/generators/enjoy/templates/migration_contact_messages.rb
enjoy_cms-0.2.1 lib/generators/enjoy/templates/migration_contact_messages.rb