Skip to content

Instantly share code, notes, and snippets.

@arvindravi
Created June 13, 2016 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arvindravi/9dedfbcceab82394f41e6d83910628f9 to your computer and use it in GitHub Desktop.
Save arvindravi/9dedfbcceab82394f41e6d83910628f9 to your computer and use it in GitHub Desktop.
DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:development_products) instead. (called from connection at /Users/arvindravi/Projects/Work/Slyk/Backend/slyk/db/migrate/20160613061736_create_products.rb:3)
DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:development_products) instead. (called from connection at /Users/arvindravi/Projects/Work/Slyk/Backend/slyk/db/migrate/20160613061736_create_products.rb:3)
(10.0ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "image_link" character varying, "description" character varying, "price" integer, "sale_price" integer, "currency" character varying, "brand" character varying, "small_image_link" character varying, "gender" character varying, "product_category" character varying, "sub_category" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:development) instead. (called from change at /Users/arvindravi/Projects/Work/Slyk/Backend/slyk/db/migrate/20160613061736_create_products.rb:22)
(0.2ms) BEGIN
SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160613061736"]]
(0.5ms) COMMIT
(0.3ms) COMMIT
(0.3ms) ROLLBACK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment