区别有两种:
-
resource_id character varying NOT NULL
而不是resource_id character varying(255) NOT NULL
-
created_at timestamp without time zone
而不是created_at timestamp without time zone NOT NULL
Rails 4.2, PostgreSQL Version 9.4.4.1
在这种情况下我该怎么办?
是的,原因是:不同的PostgreSQL版本。