Fix some typos in database_migrations.rst

Change-Id: I713605e7df2cb0b11d39f7825f70ec220f66e6a6
This commit is contained in:
zhangyanxian 2016-08-24 08:14:05 +00:00
parent e79930a077
commit 6f46088a65
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ To achieve this goal, the following rules will be observed for schema changes:
a. TODO: This Stack Overflow `Need to alter column types in production a. TODO: This Stack Overflow `Need to alter column types in production
database`_ page and many others summarize the grief involved in doing database`_ page and many others summarize the grief involved in doing
these sort of migrations these sorts of migrations
b. TODO: What about old and new application versions happening b. TODO: What about old and new application versions happening
simultaneously? simultaneously?
@ -112,7 +112,7 @@ instructions).
to existing columns/tables** to existing columns/tables**
b. Remove autogenerated comments such as: b. Remove autogenerated comments such as:
``### commands auto generated by Alembic - please adjust! ###`` ``### commands auto generated by Alembic - please adjust! ###``
c. **If you added new columns, follow this guideance**: c. **If you added new columns, follow this guidance**:
1. For non-nullable columns you will need to add default values for the 1. For non-nullable columns you will need to add default values for the
records already in the table, per what you configured in the records already in the table, per what you configured in the