vendor/rails/activerecord/test/schema/schema.rb in radiant-0.9.1 vs vendor/rails/activerecord/test/schema/schema.rb in radiant-1.0.0.rc1
- old
+ new
@@ -365,10 +365,20 @@
t.column :parrot_id, :integer
t.column :created_on, :datetime
t.column :updated_on, :datetime
end
+ create_table :polymorphic_designs, :force => true do |t|
+ t.integer :designable_id
+ t.string :designable_type
+ end
+
+ create_table :polymorphic_prices, :force => true do |t|
+ t.integer :sellable_id
+ t.string :sellable_type
+ end
+
create_table :posts, :force => true do |t|
t.integer :author_id
t.string :title, :null => false
t.text :body, :null => false
t.string :type
@@ -388,10 +398,11 @@
end
create_table :readers, :force => true do |t|
t.integer :post_id, :null => false
t.integer :person_id, :null => false
+ t.boolean :skimmer, :default => false
end
create_table :shape_expressions, :force => true do |t|
t.string :paint_type
t.integer :paint_id
@@ -433,10 +444,12 @@
create_table :tasks, :force => true do |t|
t.datetime :starting
t.datetime :ending
end
+ create_table :ties, :force => true
+
create_table :topics, :force => true do |t|
t.string :title
t.string :author_name
t.string :author_email_address
t.datetime :written_on
@@ -446,10 +459,11 @@
t.boolean :approved, :default => true
t.integer :replies_count, :default => 0
t.integer :parent_id
t.string :parent_title
t.string :type
+ t.string :group
end
create_table :taggings, :force => true do |t|
t.column :tag_id, :integer
t.column :super_tag_id, :integer
@@ -459,9 +473,11 @@
create_table :tags, :force => true do |t|
t.column :name, :string
t.column :taggings_count, :integer, :default => 0
end
+
+ create_table :tees, :force => true
create_table :toys, :primary_key => :toy_id ,:force => true do |t|
t.string :name
t.integer :pet_id, :integer
end