GeoRSS aggregator and Layar augmented reality server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20130222112030_sorcery_core.rb 547 B

11 years ago
12345678910111213141516
  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