Page 66 of 211,262, showing 20 records out of 4,225,226 total, starting on record 1,301, ending on 1,320
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 00:03 | polerin | same with modified |
# | Aug 7th 2008, 00:03 | loki_racer | some tables it does, some it doesn't |
# | Aug 7th 2008, 00:03 | polerin | ah, is the field set as not-null? I seem to rember(though I could be wrong) that it doesn't do it's automagic if it can be null |
# | Aug 7th 2008, 00:04 | loki_racer | it's not null |
# | Aug 7th 2008, 00:04 | loki_racer | INSERT INTO `poll_answers_users` (`poll_answer_id`,`user_id`) VALUES (3,1) |
# | Aug 7th 2008, 00:04 | polerin | is there a default value for the field in the table that is not saving? |
# | Aug 7th 2008, 00:04 | polerin | no, I meen the table, is it specified that the value can be null, or that the field has a default value? |
# | Aug 7th 2008, 00:05 | loki_racer | http://pastebin.com/d1ba82541 |
# | Aug 7th 2008, 00:06 | polerin | yeah |
# | Aug 7th 2008, 00:06 | polerin | take the default off of the field |
# | Aug 7th 2008, 00:06 | polerin | http://pastebin.com/m15d269cf |
# | Aug 7th 2008, 00:07 | loki_racer | i don't think that is the issue since all my datetimes have default, phpmyadmin forces it |
# | Aug 7th 2008, 00:08 | loki_racer | i think it's that I added a field to the database table and didn't flush the model |
# | Aug 7th 2008, 00:08 | loki_racer | oddly, it knows the new fields, but not all the fields after it |
# | Aug 7th 2008, 00:08 | polerin | try it |
# | Aug 7th 2008, 00:08 | polerin | ) |
# | Aug 7th 2008, 00:08 | loki_racer | what, try removing the default? |
# | Aug 7th 2008, 00:08 | polerin | I could be wrong, and I've never had it force a default on me |
# | Aug 7th 2008, 00:08 | polerin | but I seem to remeber having an issue like that |
# | Aug 7th 2008, 00:09 | loki_racer | you can't remove it |