vendor/activerecord/test/schema/schema.rb in relevance-castronaut-0.5.4 vs vendor/activerecord/test/schema/schema.rb in relevance-castronaut-0.6.0
- old
+ new
@@ -58,11 +58,11 @@
create_table :books, :force => true do |t|
t.column :name, :string
end
create_table :booleantests, :force => true do |t|
- t.integer :value
+ t.boolean :value
end
create_table :categories, :force => true do |t|
t.string :name, :null => false
t.string :type
@@ -101,10 +101,11 @@
create_table :companies, :force => true do |t|
t.string :type
t.string :ruby_type
t.integer :firm_id
+ t.string :firm_name
t.string :name
t.integer :client_of
t.integer :rating, :default => 1
end
@@ -194,10 +195,16 @@
create_table :members, :force => true do |t|
t.string :name
end
+ create_table :member_details, :force => true do |t|
+ t.integer :member_id
+ t.integer :organization_id
+ t.string :extra_data
+ end
+
create_table :memberships, :force => true do |t|
t.datetime :joined_on
t.integer :club_id, :member_id
t.boolean :favourite, :default => false
t.string :type
@@ -244,9 +251,13 @@
create_table :orders, :force => true do |t|
t.string :name
t.integer :billing_customer_id
t.integer :shipping_customer_id
+ end
+
+ create_table :organizations, :force => true do |t|
+ t.string :name
end
create_table :owners, :primary_key => :owner_id ,:force => true do |t|
t.string :name
end