I created the table in the install script. Now, how do I prepopulate it?
Which install script? Which table?
any .install script
if you mean a .install in a module, you enable the module and the .install runs on its own. You don't have to manually manipulate the DB for things of that nature.
If the above isn't what you are talking about you will have to be more verbose!
I know the .install script runs on its own, but I only know how to specify the creation of tables in it. The question is how to specify inserts.
may help to look at a contrib module that does this and mimic the process. Every module inserts a row into the system table.
Which install script?
Which install script? Which table?
install script
any .install script
=-=
if you mean a .install in a module, you enable the module and the .install runs on its own. You don't have to manually manipulate the DB for things of that nature.
If the above isn't what you are talking about you will have to be more verbose!
I know, but...
I know the .install script runs on its own, but I only know how to specify the creation of tables in it. The question is how to specify inserts.
=-=
may help to look at a contrib module that does this and mimic the process. Every module inserts a row into the system table.