Sha256: 96a1d3901face599deb11f14b473e502662f411a2d37766b615f7f19900c4dc4
Contents?: true
Size: 363 Bytes
Versions: 17
Compression:
Stored size: 363 Bytes
Contents
class CreateUsers < ActiveRecord::CompatibleLegacyMigration.migration_class def self.up create_table :users do |t| t.string :username, null: false t.string :email, default: nil t.string :crypted_password t.string :salt t.timestamps null: false end end def self.down drop_table :users end end
Version data entries
17 entries across 17 versions & 1 rubygems