The next time it executes, the script will fail since the table already exists-but that's okay.
当再次执行时,脚本将会失败,因为表已经存在—但这也问题不大。
An exception is thrown if the inferred table already exists but with a different namespace, or if any of the inferred columns conflict with existing columns.
如果推断的资料表已经存在,但是具有不同的命名空间,或者如果任何的推断资料行与现有资料行冲突,则会掷回例外状况。
Note: The system fails to create the table if a table with the same name already exists in the user database.
注意:如果这个表格的名称与这个用户数据库中已经存在的名称相同,这个系统就不能创建这个表格。
If you're adding a table or column that already exists, that operation will fail, so you need to make sure your migration is in a consistent state.
如果要添加的表或列已经存在,那么操作就会失败,所以需要确保迁移在一致的状态下运行。
The example assumes that the table customer does not exists and the customer schema is already registered in the database.
以下的示例代码假设表的customer不存在,并且已经在数据库中注册了该customer模式。
Make sure you are not trying to assign a value to a primary key field where the primary key already exists in the data table.
确定您未尝试将值指定至主索引键栏位,而此栏位中的主索引键已存在于资料表中。
Make sure you are not trying to assign a value to a primary key field where the primary key already exists in the data table.
确定您未尝试将值指定至主索引键栏位,而此栏位中的主索引键已存在于资料表中。
应用推荐