We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3aa7f7 commit f333449Copy full SHA for f333449
test/cases/index_test_sqlserver.rb
@@ -39,4 +39,9 @@ class IndexTestSQLServer < ActiveRecord::TestCase
39
end
40
41
42
+ it 'add index with expression' do
43
+ connection.execute "ALTER TABLE [testings] ADD [first_name_upper] AS UPPER([first_name])"
44
+ connection.add_index 'testings', 'first_name_upper'
45
+ end
46
+
47
0 commit comments