Skip to content

Commit

Permalink
PD-5336: typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-velonis1 committed Oct 28, 2024
1 parent 32eee66 commit 433674d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:searchable="False">
<head>
</head>
<body>
<p>Specifies which columns to filter in the index you're creating. Some databases, like Oracle, automatically create indexes for primary key constraints and unique constraints, but not foreign key constraints. Use this <MadCap:variable name="General.Param/Attribute" /> to specify what your index associations are. Valid values: <code>primaryKey</code>, <code>foreignKey</code>, <code>uniqueConstriant</code>, <code>none</code>.</p>
<p>Specifies which columns to filter in the index you're creating. Some databases, like Oracle, automatically create indexes for primary key constraints and unique constraints, but not foreign key constraints. Use this <MadCap:variable name="General.Param/Attribute" /> to specify what your index associations are. Valid values: <code>primaryKey</code>, <code>foreignKey</code>, <code>uniqueConstraint</code>, <code>none</code>.</p>
</body>
</html>
2 changes: 1 addition & 1 deletion Content/change-types/create-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="change-createindex">createIndex</h1>
<p>The <code>createIndex</code> <MadCap:variable name="General.changetypes" /> creates an index on an existing column or a set of columns.</p>
<h2>Uses</h2>
<p>You can typically use the <code>createIndex</code> <MadCap:variable name="General.changetypes" /> when you want to add an index on one of the columns or a set of columns to increase the searchability of the records in your database.</p>
<p> If you set the <code>clustered</code> <MadCap:variable name="General.Param/Attribute" /> to <code>true</code>, <MadCap:variable name="General.Liquibase" /> will create a clustered index, which defines the order in which records are stored in a table. If you set the <code>clustered</code> <MadCap:variable name="General.Param/Attribute" /> to <code>false</code>, <MadCap:variable name="General.Liquibase" /> will create a non-clustered index, where the order of the rows will not match the order of the actual records.</p>
<p>If you set the <code>clustered</code> <MadCap:variable name="General.Param/Attribute" /> to <code>true</code>, <MadCap:variable name="General.Liquibase" /> will create a clustered index, which defines the order in which records are stored in a table. If you set the <code>clustered</code> <MadCap:variable name="General.Param/Attribute" /> to <code>false</code>, <MadCap:variable name="General.Liquibase" /> will create a non-clustered index, where the order of the rows will not match the order of the actual records.</p>
<p>When creating indexes, <MadCap:variable name="General.Liquibase" /> uses the order of columns that you list in the <code>createIndex</code> <MadCap:variable name="General.changetypes" />. For example:</p><pre xml:space="preserve"><code class="language-xml">&lt;changeSet author="bob" id="1_createTable_department"&gt;
&lt;createTable tableName="department"&gt;
&lt;column name="col_1" type="integer"/&gt;
Expand Down

0 comments on commit 433674d

Please sign in to comment.