This project is read-only.

Update and enable module

Topics: Customizing Orchard
Jan 3, 2012 at 5:16 PM



I have created module and when i goto update and enable module there is another extra contnet type called  "Name" why that,


Here is my migration file

 public int Create() {
			// Creating table orch_eProp_Jobs_JobPartRecord
			SchemaBuilder.CreateTable("JobPartRecord", table => table
                .Column("CompanyId", DbType.Int16 )
                .Column("Salary", DbType.String )
                .Column("Location", DbType.String )
                .Column("PostedBy", DbType.Int32)
                .Column("Telephone", DbType.String)
                .Column("Fax", DbType.Boolean)
                .Column("Email", DbType.String)
                .Column("Vacancy", DbType.Boolean )

             builder => builder.Attachable());

            return 1;

        public int UpdateFrom1()
            cfg => cfg

            return 2;

Jan 6, 2012 at 7:44 AM

Where is there an extra content type called name? Are you sure it happened as a result of that migration?