Sha256: f717067afa99b240a2cb528a5ed6005d1454ed9af945473a36ec541b16ea3398
Contents?: true
Size: 630 Bytes
Versions: 30
Compression:
Stored size: 630 Bytes
Contents
class CreateTables < ActiveRecord::Migration def self.up create_table :users do |t| t.string :username t.string :facebook_token t.database_authenticatable :null => false t.confirmable t.recoverable t.rememberable t.trackable t.lockable t.token_authenticatable t.timestamps end create_table :admins do |t| t.database_authenticatable :null => true t.encryptable t.rememberable :use_salt => false t.recoverable t.lockable t.timestamps end end def self.down drop_table :users drop_table :admins end end
Version data entries
30 entries across 29 versions & 6 rubygems