Welcome Guest, Not a member yet? Register   Sign In
Auth library for PostgreSQL database
#4

[eluser]matt.asbury[/eluser]
Depending on how many of these queries you would need to amend, I don't think it would be too difficult for you to understand the logic. I would recode them using codeigniter's database forge class (http://ellislab.com/codeigniter/user-gui...forge.html). In this example the logical entry would be:
Code:
$this->load->dbforge();
$this->dbforge->add_field('id'); //automatically create an int[9] auto increment primary key field
$this->dbforge->add_field('name varchar(50) NULL');
$this->dbforge->create_table('aurole');
This will give you code that will be portable between any CI supported database.


Messages In This Thread
Auth library for PostgreSQL database - by El Forum - 11-12-2010, 04:33 PM
Auth library for PostgreSQL database - by El Forum - 11-12-2010, 05:06 PM
Auth library for PostgreSQL database - by El Forum - 11-12-2010, 05:48 PM
Auth library for PostgreSQL database - by El Forum - 11-12-2010, 06:17 PM
Auth library for PostgreSQL database - by El Forum - 11-12-2010, 06:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB