File tree 6 files changed +7
-7
lines changed
protected/install/database/update/001
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
SET @saved_cs_client = @@character_set_client;
2
2
SET character_set_client = utf8;
3
- CREATE TABLE `foursquare_data ` (
3
+ CREATE TABLE IF NOT EXISTS ` foursquare_data` (
4
4
` id` int (10 ) unsigned NOT NULL auto_increment,
5
5
` source_id` int (10 ) unsigned NOT NULL ,
6
6
` guid` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
- DROP TABLE IF EXISTS ` github_data` ;
1
+ " " " DROP TABLE IF EXISTS `github_data`;" " "
2
2
SET @saved_cs_client = @@character_set_client;
3
3
SET character_set_client = utf8;
4
- CREATE TABLE `github_data ` (
4
+ CREATE TABLE IF NOT EXISTS ` github_data` (
5
5
` id` int (10 ) unsigned NOT NULL auto_increment,
6
6
` source_id` int (10 ) unsigned NOT NULL ,
7
7
` github_id` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
1
SET @saved_cs_client = @@character_set_client;
2
2
SET character_set_client = utf8;
3
- CREATE TABLE `gitorious_data ` (
3
+ CREATE TABLE IF NOT EXISTS ` gitorious_data` (
4
4
` id` int (10 ) unsigned NOT NULL auto_increment,
5
5
` source_id` int (10 ) unsigned NOT NULL ,
6
6
` gitorious_id` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
1
SET @saved_cs_client = @@character_set_client;
2
2
SET character_set_client = utf8;
3
- CREATE TABLE `goodreads_data ` (
3
+ CREATE TABLE IF NOT EXISTS ` goodreads_data` (
4
4
` id` int (10 ) unsigned NOT NULL auto_increment,
5
5
` source_id` int (10 ) unsigned NOT NULL ,
6
6
` guid` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
1
SET @saved_cs_client = @@character_set_client;
2
2
SET character_set_client = utf8;
3
- CREATE TABLE `googlebuzz_data ` (
3
+ CREATE TABLE IF NOT EXISTS ` googlebuzz_data` (
4
4
` id` int (10 ) unsigned NOT NULL auto_increment,
5
5
` source_id` int (10 ) unsigned NOT NULL ,
6
6
` buzz_id` varchar (255 ) NOT NULL ,
Original file line number Diff line number Diff line change 1
1
SET @saved_cs_client = @@character_set_client;
2
2
SET character_set_client = utf8;
3
- CREATE TABLE `shortUrl ` (
3
+ CREATE TABLE IF NOT EXISTS ` shortUrl` (
4
4
` user_id` int (11 ) NOT NULL ,
5
5
` token` varchar (16 ) NOT NULL ,
6
6
` url` varchar (256 ) NOT NULL ,
You can’t perform that action at this time.
0 commit comments