Sha256: 6b458b00381b0e0389e5987af1837f3a46805359ff1546ee1b91dd9f506d1e9b

Contents?: true

Size: 204 Bytes

Versions: 5

Compression:

Stored size: 204 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  clusters :user_cluster

  def change
    create_table :users do |t|
      t.string :name
      t.timestamps
    end
    create_sequence_for(:users)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activerecord-turntable-1.1.2 sample_app/db/migrate/20120316073058_create_users.rb
activerecord-turntable-1.1.1 sample_app/db/migrate/20120316073058_create_users.rb
activerecord-turntable-1.1.0 sample_app/db/migrate/20120316073058_create_users.rb
activerecord-turntable-1.0.1 sample_app/db/migrate/20120316073058_create_users.rb
activerecord-turntable-1.0.0 sample_app/db/migrate/20120316073058_create_users.rb