Sha256: d33b77f784d0e1620e0d7aaedc18e1fb3aee2de502fee670a5d48f09962edfb1

Contents?: true

Size: 247 Bytes

Versions: 11

Compression:

Stored size: 247 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.references :account
      t.string :name
      t.integer :custom_sequential_id

      t.timestamps
    end
    add_index :users, :account_id
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sequenced-3.1.1 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-3.1.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-3.0.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-2.0.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.6.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.5.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.4.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.3.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.2.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-1.0.0 test/dummy/db/migrate/20120219175744_create_users.rb
sequenced-0.1.0 test/dummy/db/migrate/20120219175744_create_users.rb