File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
src/NHibernate.Test/NHSpecificTest/GH3530 Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,13 @@ protected override void OnTearDown()
3838
3939 protected override void CreateSchema ( )
4040 {
41+ // Let the SchemaExporter drop and create tables if needed.
42+ base . CreateSchema ( ) ;
43+
4144 CreateTable ( "Integer" ) ;
4245 CreateTable ( "DateTime" ) ;
4346 CreateTable ( "Double" ) ;
4447 CreateTable ( "Decimal" ) ;
45-
46- base . CreateSchema ( ) ;
4748 }
4849
4950 /// <summary>
Original file line number Diff line number Diff line change 77 not provide a mechanism of doing this, hence they have a
88 schema-action of 'none'.
99 -->
10- <class name =" IntegerEntity" schema-action =" none " >
10+ <class name =" IntegerEntity" schema-action =" drop " >
1111 <id name =" Id" generator =" guid.comb" />
1212 <property name =" DataValue" column =" DataValue" />
1313 </class >
14- <class name =" DateTimeEntity" schema-action =" none " >
14+ <class name =" DateTimeEntity" schema-action =" drop " >
1515 <id name =" Id" generator =" guid.comb" />
1616 <property name =" DataValue" column =" DataValue" />
1717 </class >
18- <class name =" DoubleEntity" schema-action =" none " >
18+ <class name =" DoubleEntity" schema-action =" drop " >
1919 <id name =" Id" generator =" guid.comb" />
2020 <property name =" DataValue" column =" DataValue" />
2121 </class >
22- <class name =" DecimalEntity" schema-action =" none " >
22+ <class name =" DecimalEntity" schema-action =" drop " >
2323 <id name =" Id" generator =" guid.comb" />
2424 <property name =" DataValue" column =" DataValue" />
2525 </class >
You can’t perform that action at this time.
0 commit comments