spec/support/schema.rb in amoeba-3.0.0 vs spec/support/schema.rb in amoeba-3.1.0

- old
+ new

@@ -42,17 +42,23 @@ create_table :images, force: true do |t| t.string :filename t.integer :product_id end + create_table :companies, force: true do |t| + t.string :name + end + create_table :employees, force: true do |t| + t.integer :company_id t.string :name t.string :ssn t.decimal :salary end create_table :customers, force: true do |t| + t.integer :company_id t.string :email t.string :password t.decimal :balance end @@ -65,10 +71,18 @@ t.string :city t.string :state t.string :zip end + create_table :photos, force: true do |t| + t.integer :imageable_id + t.string :imageable_type + + t.string :name + t.integer :size + end + create_table :post_configs, force: true do |t| t.integer :post_id t.integer :is_visible t.integer :is_open t.string :password @@ -197,6 +211,25 @@ t.integer :box_sub_product_id t.string :title t.timestamps null: true end + create_table :stages, force: true do |t| + t.string :title + t.string :type + t.integer :external_id + t.timestamps null: true + end + + create_table :participants, force: true do |t| + t.string :name + t.string :type + t.integer :stage_id + t.timestamps + end + + create_table :custom_rules, force: true do |t| + t.string :description + t.integer :stage_id + t.timestamps + end end