ameerkat / imdb-to-sql

Converts the plain text IMDB files available for download into a usable relational database format
Apache License 2.0
104 stars 38 forks source link

removing ALTER TABLE who forces postgres be the owner #5

Closed sebastianwebber closed 8 years ago

sebastianwebber commented 8 years ago

Hi There,

the files schemas/postgres.sql and schemas/postgres.use_dict.sql are ignoring the setting Database.user when assigning the table owner.

I think this is a standard output from pg_dump then I removed all ALTER TABLES xxxx OWNER TO postgres; from both files.

By default, the current logged user is the owner of the new object.

Sorry for my poor english.

Thanks!