Merge branch 'master' into 7374-inserting-ar-without-values

This commit is contained in:
John Was
2015-05-24 23:29:40 +02:00
353 changed files with 17842 additions and 1751 deletions

View File

@ -37,6 +37,11 @@ CREATE TABLE "profile" (
description varchar(128) NOT NULL
);
CREATE TABLE "schema1"."profile" (
id serial not null primary key,
description varchar(128) NOT NULL
);
CREATE TABLE "customer" (
id serial not null primary key,
email varchar(128) NOT NULL,
@ -151,6 +156,9 @@ INSERT INTO "animal" (type) VALUES ('yiiunit\data\ar\Dog');
INSERT INTO "profile" (description) VALUES ('profile customer 1');
INSERT INTO "profile" (description) VALUES ('profile customer 3');
INSERT INTO "schema1"."profile" (description) VALUES ('profile customer 1');
INSERT INTO "schema1"."profile" (description) VALUES ('profile customer 3');
INSERT INTO "customer" (email, name, address, status, bool_status, profile_id) VALUES ('user1@example.com', 'user1', 'address1', 1, true, 1);
INSERT INTO "customer" (email, name, address, status, bool_status) VALUES ('user2@example.com', 'user2', 'address2', 1, true);
INSERT INTO "customer" (email, name, address, status, bool_status, profile_id) VALUES ('user3@example.com', 'user3', 'address3', 2, false, 2);