Sha256: 8a7987e58fb23f52d59acab6a9cae50fa848e062ddc823633287b93e60045d41

Contents?: true

Size: 253 Bytes

Versions: 14

Compression:

Stored size: 253 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|

      t.string :email, null: false
      t.string :encrypted_password, null: false
      t.timestamps
    end

    add_index :users, :email, unique: true
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ecrire-0.27.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.26.3 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.26.2 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.26.1 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.26.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.25.2 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.25.1 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.25.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.24.1 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.24.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.23.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.22.1 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.21.0 lib/ecrire/db/migrate/20131113200949_create_users.rb
ecrire-0.20.0 lib/ecrire/db/migrate/20131113200949_create_users.rb