Advertisement
Guest User

Untitled

a guest
Oct 27th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.77 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" ?>
  2.  
  3. <databaseChangeLog
  4.        xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
  5.        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6.        xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
  7.        xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd
  8.        http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
  9.  
  10.     <preConditions>
  11.         <runningAs username="liquibase"/>
  12.     </preConditions>
  13.  
  14.     <changeSet id="1" author="user">
  15.         <createTable tableName="Users_2">
  16.             <column name="Id" type="int" autoIncrement="true">
  17.                 <constraints primaryKey="true" nullable="false"/>
  18.             </column>
  19.             <column name="Name" type="nvarchar(50)">
  20.                 <constraints nullable="false"/>
  21.             </column>
  22.             <column name="Email" type="nvarchar(50)">
  23.                 <constraints nullable="false"/>
  24.             </column>
  25.             <column name="Password" type="nvarchar(50)">
  26.                 <constraints nullable="false"/>
  27.             </column>
  28.             <column name="EmailConfirmed" type="bit">
  29.                 <constraints nullable="false"/>
  30.             </column>
  31.             <column name="Subscriptions" type="nvarchar(max)">
  32.                 <constraints nullable="true"/>
  33.             </column>
  34.             <column name="Keywords" type="nvarchar(50)">
  35.                 <constraints nullable="true"/>
  36.             </column>
  37.             <column name="GuidValidation" type="uniqueidentifier">
  38.                 <constraints nullable="false"/>
  39.             </column>
  40.         </createTable>
  41.     </changeSet>
  42. </databaseChangeLog>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement