search for: createcomments

Displaying 8 results from an estimated 8 matches for "createcomments".

2007 Nov 12
7
schema_info always wants to be 3, even when set to 7
Hi all, I''m having a very odd problem with db:migrate. I''m using Rails 1.2.5 on Windows XP SP2 and Ruby 1.8.6 I have seven migrations. If I run them with an empty database, it runs the first three, then halts. When I look in schema_info, the version is 3. If I run db:migrate VERSION=7, then it runs through the remaining 4 migrations, and the version is 7 in the DB.
2009 Feb 22
2
Mysql error unknown column 'columns.user_id'
...w Mysql::Error: Unknown column ''comments.user_id'' in ''on clause'': SELECT photos.`id` AS t0_r0, photos.`user_id` AS t0_r1, photos.`title` AS t0_r2, photos.`body` AS t0_r3, photos.`created_at` AS t0.... I did create a user_id column in the comments as such: class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.column :photo_id, :integer t.column :user_id, :integer t.column :guest_name, :string t.column :guest_email, :string t.column :guest_url, :string t.column :body, :text t.column :c...
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
...=============================== -- create_table(:pandas) -> 0.0195s == 2 CreatePandas: migrated (0.0199s) ========================================= ************************************************** -- Executing migrations in branch1... ************************************************** == 3 CreateComments: migrating ================================================ -- create_table(:comments) -> 0.0032s == 3 CreateComments: migrated (0.0035s) ======================================= == 4 CreateReplies: migrating ================================================= -- create_table(:replies) ->...
2006 Sep 05
0
rake craziness with Migrate as a dependency
...== AddShippingPriceToLineItems: migrating ===================================== -- add_column(:line_items, "unit_shipping_fee", :integer, {:default=>0, :limit=>10, :null=>false}) -> 0.1900s == AddShippingPriceToLineItems: migrated (0.1900s) ============================ == CreateComments: migrating ================================================== -- create_table(:comments) -> 0.0900s == CreateComments: migrated (0.0900s) ========================================= == NoProductSkuRelationship: migrating ======================================== -- remove_column(:skus, "pr...
2006 Aug 17
0
super-newb needs help with has_many and other things...
...ll => false t.column :topicid, :integer, :null => false end execute "alter table articles add constraint fk_article_topics foreign key(topicid) references topics(id)" end def self.down drop_table :articles end end 003: class CreateComments < ActiveRecord::Migration def self.up create_table :comments do |t| t.column :comment, :text, :null => false t.column :creator, :string, :null => false t.column :creationdate, :timestamp, :null => false t.column :articleid, :integer, :null => f...
2008 Jan 11
0
Wine release 0.9.53
This is release 0.9.53 of Wine, a free implementation of Windows on Unix. What's new in this release: - RunOnce and Run entries now executed on startup. - Beginnings of support for emulated disk devices. - Many Richedit improvements. - Nicer looking color dialog. - Lots of bug fixes. Because of lags created by using mirrors, this message may reach you before the release is
2010 Feb 19
0
Wine release 1.1.39
The Wine development release 1.1.39 is now available. What's new in this release (see below for details): - Support for registry symbolic links. - Many MSI fixes. - Build process improvements. - MSXML cleanups and fixes. - A number of MSHTML improvements. - Various bug fixes. The source is available from the following locations:
2009 Jan 30
0
Wine release 1.1.14
The Wine development release 1.1.14 is now available. What's new in this release (see below for details): - Various bug fixes for Internet Explorer 7. - Many crypt32 improvements, including new export wizard. - Better support for windowless Richedit. - Improvements to the print dialog. - Many fixes to the regression tests on Windows. - Various bug fixes. The source is available