Sha256: 50d952030310f339cfe9199447b51d5026504fff5987497a571e3817795f0ff4
Contents?: true
Size: 462 Bytes
Versions: 12
Compression:
Stored size: 462 Bytes
Contents
class CreateAccounts < ActiveRecord::Migration def self.up ActiveRecord::Base.establish_connection :users create_table :accounts do |t| t.column :password, :string, :null => false t.column :active, :boolean t.column :activation_key, :string t.column :created_at, :datetime t.column :updated_at, :datetime end end def self.down ActiveRecord::Base.establish_connection :users drop_table :accounts end end
Version data entries
12 entries across 12 versions & 2 rubygems