Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

cb_install SQL scripts contain errors #223

Closed
mtlynch opened this issue Jul 30, 2016 · 1 comment
Closed

cb_install SQL scripts contain errors #223

mtlynch opened this issue Jul 30, 2016 · 1 comment
Milestone

Comments

@mtlynch
Copy link

mtlynch commented Jul 30, 2016

There seem to be several simple errors in the SQL install scripts. They should all be very easy to fix:

cb_install/sql/structure.sql

  • 609: CREATE TABLE should be CREATE TABLE IF NOT EXISTS
  • 1053-1054: {tbl_prefix}_video - extra underscore after {tbl_prefix}
  • 1107: This line is formatted incorrectly ({table_prefix} appears in the wrong place) and can be deleted because the statement on 1197 has the same effect
  • 1141: This line is not necessary because the file_directory column already appears in the original CREATE TABLE statement on 490
  • 1148: Line is not necessary because video_version column already appears in the original CREATE TABLE statement on 898
  • 1149: Line is not necessary because extras column already appears in the original CREATE TABLE statement on 898
  • 1191: Line is not necessary because file_directory column was added on 1142
  • 1201: Line is not necessary because parent_id appears in original CREATE TABLE query on 108

cb_install/sql/configs.sql

  • 224: Fails because the primary key 224 was already used on 158

cb_install/sql/user_levels.sql

@aliawancb aliawancb added this to the 3.0 milestone Oct 27, 2017
@zaincb zaincb closed this as completed Nov 18, 2019
@RealDekkia
Copy link

Just FYI, this Issue has been mentionend in a blog-post: https://mtlynch.io/digitizing-2/#clipbucket-the-open-source-youtube-clone-you-cant-really-install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants