You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_equal"select `people`.`first_name` AS `f_name`,`people`.`last_name` AS `l_name`,`people`.`ssn` AS `social_security` from `people`",ActiveRecord::Base.connection.view_select_statement('v_person')
45
+
assert_equal"select `people`.`first_name` AS `f_name`,`people`.`last_name` AS `l_name`,`people`.`ssn` AS `social_security` from `people`",ActiveRecord::Base.connection.view_select_statement('v_people')
46
46
when"PostgreSQL":
47
-
assert_equal"SELECT people.first_name AS f_name, people.last_name AS l_name, people.ssn AS social_security FROM people;",ActiveRecord::Base.connection.view_select_statement('v_person')
47
+
assert_equal"SELECT people.first_name AS f_name, people.last_name AS l_name, people.ssn AS social_security FROM people;",ActiveRecord::Base.connection.view_select_statement('v_people')
Copy file name to clipboardExpand all lines: test/schema.native_mysql.expected.rb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
t.string"country",:limit=>2
31
31
end
32
32
33
-
create_view"v_person","select `people`.`first_name` AS `f_name`,`people`.`last_name` AS `l_name`,`people`.`ssn` AS `social_security` from `people`",:force=>truedo |v|
33
+
create_view"v_people","select `people`.`first_name` AS `f_name`,`people`.`last_name` AS `l_name`,`people`.`ssn` AS `social_security` from `people`",:force=>truedo |v|
0 commit comments