sapioit / phpliteadmin

Automatically exported from code.google.com/p/phpliteadmin
1 stars 0 forks source link

cannot add new column with not null flag set #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a table
2. Go to the Add new field
3. Ensure Not NULL is selected
4. Add Fields

What is the expected output? What do you see instead?
I would expect an error saying that it cannot be set if the table has data with 
an OK / Cancel. or if the table is empty or complies with the rules it will add 
the new field with not null set

What version of the product are you using? On what operating system? Which
Database Extension (PDO/SQLiteDatabase/SQLiteDatabase3 - see Database
structure-tab in phpLiteAdmin)?
phpLiteAdmin: 1.9.4.1
Database name: dummy
Path to database: ../database/dummy
Size of database: 25 KB
Database last modified: 2:38pm on June 5, 2013 (UTC)
SQLite version: 3.7.7.1
SQLite extension [?]: SQLite3
PHP version: 5.3.21

Please provide any additional information below.

Original issue reported on code.google.com by t...@tect.co.uk on 5 Jun 2013 at 2:44

GoogleCodeExporter commented 9 years ago
I guess this is almost the same issue as #222 which has just been fixed. Please 
try the new version provided there.

Original comment by crazy4ch...@gmail.com on 9 Aug 2013 at 1:14