Displaying 1 result from an estimated 1 matches for "add_employee_data".
2006 Jul 10
3
Problem with migrations
...ven with changing the name of the second table and other minor tweaks
it just does not work. I 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...