Displaying 1 result from an estimated 1 matches for "add_cost_code_data".
2006 Jul 10
3
Problem with migrations
...am connected to the db, the first table does get
filled out.
Any help is appreciated!
Here is what I''ve done so far:
>ruby script\generate model employees
>ruby script\generate migration add_employee_data
>ruby script\generate model cost_codes
>ruby script\generate migration add_cost_code_data
Then inside the first 3 migrations everything goes ok -
001
class CreateEmployees < ActiveRecord::Migration
def self.up
create_table :employees do |t|
t.column :employee_number, :integer
t.column :name, :string
t.column :location, :string
t.column :department, :in...