Advertisement

02.15.2008 at 10:43AM PST, ID: 23166870
[x]
Attachment Details

sqlite doesn't seem to like my migration - I just want to add a column

Asked by smetterd in RubyOnRails, Ruby Scripting Language

class AddPasswordFieldToAccounts < ActiveRecord::Migration
  def self.up
    add_column(accounts, password, string)
  end

  def self.down
    remove_column(accounts, password)
  end
end


--------------

rake aborts with a complaint about the schemaStart Free Trial
 
Loading Advertisement...
 
[+][-]02.15.2008 at 10:46AM PST, ID: 20904679

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: RubyOnRails, Ruby Scripting Language
Sign Up Now!
Solution Provided By: bobbit31
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.15.2008 at 10:47AM PST, ID: 20904684

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628