Brion Vibber
7f674cc957
Merge branch 'schema-x' of /Users/brion/pages/mublog into schema-x
2010-10-08 16:38:18 -07:00
Brion Vibber
2d0807bc1c
Starting on adapting postgresql schema class to look stuff up in the new drupalish format...
...
Fetching basic column data and unique indexes. Still needs detail work, multi-value indexes, foreign keys, and distinguishing the primary key.
Since we don't get comments and such, for cleaner comparisons we should probably do a filtering on supported features.
2010-10-08 16:36:32 -07:00
Brion Vibber
2e475ceab0
Some more poking at schema stuff, on the road towards a more portable table-modification with the new schema bits
2010-10-07 18:33:02 -07:00
Brion Vibber
033a757013
More schema work in progress... removing duped code from schema child classes, rebuilding things a bit more (incomplete; non-working state)
2010-08-16 16:31:18 -07:00
Brenda Wallace
6f19830c9a
fix the column modify on stuff for postgres. change serial to bigserial
2010-05-17 13:50:37 +12:00
Brenda Wallace
7bd6b62461
comment out the extra bit, cos there's always mysql-only stuff in therre.
...
this isn't a very good idea
2010-05-15 15:32:22 +12:00
Brenda Wallace
a467c0ebba
caitalise the sql keywords
2010-05-15 15:31:54 +12:00
Brenda Wallace
191752138a
indexes now working in postgres schemas
2010-05-15 15:14:11 +12:00
Brenda Wallace
7cf250ff18
removed sneaky debug echo that shouldn't be there
2010-05-15 15:08:22 +12:00
Brenda Wallace
599942f58a
sorted enums and auto_increments on postgres.
...
Still needs inline indexes on table creation
2010-05-15 14:56:40 +12:00
Brion Vibber
fe7b063b85
Remove stray whitespace at file start that snuck into last update
2010-03-11 18:07:00 -08:00
Brenda Wallace
49f1b1e8b2
removed a stay bit of debug
2010-03-10 22:03:36 +13:00
Brenda Wallace
75e2be3b71
map the mysql-ish column types to ones postgres likes
2010-03-10 22:02:56 +13:00
Brenda Wallace
7398353c44
primary keys and unique indexes working in postgres
2010-03-10 21:54:30 +13:00
Brenda Wallace
c4ee2b20be
throw an error that looks like mysql errors.. :-S
2010-03-10 21:25:44 +13:00
Evan Prodromou
81087e45c5
move schema.type.php to typeschema.php like other files
2010-01-31 15:25:59 -05:00