GeoRSS aggregator and Layar augmented reality server
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

16 lignes
547 B

  1. class SorceryCore < ActiveRecord::Migration
  2. def self.up
  3. create_table :users do |t|
  4. t.string :username, :null => false # if you use another field as a username, for example email, you can safely remove this field.
  5. t.string :email, :default => nil # if you use this field as a username, you might want to make it :null => false.
  6. t.string :crypted_password, :default => nil
  7. t.string :salt, :default => nil
  8. t.timestamps
  9. end
  10. end
  11. def self.down
  12. drop_table :users
  13. end
  14. end