File: 20130411225444_create_emails.rb

package info (click to toggle)
ruby-sequenced 3.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,884 kB
  • sloc: ruby: 696; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 244 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
class CreateEmails < ActiveRecord::Migration
  def change
    create_table :emails do |t|
      t.string :emailable_type
      t.integer :emailable_id
      t.integer :sequential_id
      t.string :address

      t.timestamps
    end
  end
end